Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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];

Expand Down
1 change: 1 addition & 0 deletions addons/overthrow_main/functions/save/fn_saveGame.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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]];
};

Expand Down