Update server_onPlayerDisconnect.sqf (#2039)

* Update server_onPlayerDisconnect.sqf

fix dupe and save inventory bag, if object position in sea

* Update server_onPlayerDisconnect.sqf
This commit is contained in:
F507DMT authored and oiad committed 2019-09-16 11:39:56 +12:00
1 parent 096fc13150
commit a052ba767b
1 file changed
+2 -2
@@ -85,7 +85,7 @@ if (_characterID != "?") then {
};
} else {
//Done in server_playerSync above if player is alive
{[_x,"gear"] call server_updateObject} count (nearestObjects [_playerPos,DayZ_GearedObjects,10]);
{[_x,"gear"] call server_updateObject} count (nearestObjects [[_playerObj] call FNC_GetPos,DayZ_GearedObjects,10]);
};
[_playerUID,_characterID,3,_playerName,(_playerPos call fa_coor2str)] call dayz_recordLogin;
@@ -95,4 +95,4 @@ missionNamespace setVariable [_playerUID,nil];
if (alive _playerObj) then {
_playerObj call sched_co_deleteVehicle;
};
};