diff --git a/addons/overthrow_main/functions/player/fn_initPlayerLocal.sqf b/addons/overthrow_main/functions/player/fn_initPlayerLocal.sqf index 721a1d697..8e4e23a29 100644 --- a/addons/overthrow_main/functions/player/fn_initPlayerLocal.sqf +++ b/addons/overthrow_main/functions/player/fn_initPlayerLocal.sqf @@ -201,7 +201,7 @@ private _newrecruits = []; }; }; }; - _newrecruits pushBack [_owner, _name, _civ, _rank, _loadout, _type]; + _newrecruits pushBack [_owner, _name, _civ, _rank, _loadout, _type, _xp]; } forEach (_recruits); server setVariable ["recruits", _newrecruits, true]; diff --git a/addons/overthrow_main/functions/save/fn_saveGame.sqf b/addons/overthrow_main/functions/save/fn_saveGame.sqf index d1813473b..9483d23d6 100644 --- a/addons/overthrow_main/functions/save/fn_saveGame.sqf +++ b/addons/overthrow_main/functions/save/fn_saveGame.sqf @@ -224,6 +224,7 @@ private _recruits = ((server getVariable ["recruits", []]) select { if (_unitOrPos isEqualType objNull) then { _d set [4, getUnitLoadout _unitOrPos]; _d set [2, getPosATL _unitOrPos]; + _d set [3, rank _unitOrPos]; _d set [6, _unitOrPos getVariable ["OT_xp", 0]]; };