mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-04 15:22:53 +03:00
Fix playerSync error from 5f0c2fc
@icomrade There are cases where playerSync will receive > 3 params if achievements are passed. Example: https://github.com/EpochModTeam/DayZ-Epoch/blob/master/SQF/dayz_code/system/player_spawn_2.sqf#L305
This commit is contained in:
@@ -50,7 +50,7 @@ if (_characterID != "?") exitwith {
|
||||
//if player object is alive lets sync the player and remove the body and if ghosting is active add the player id to the array
|
||||
if (alive _playerObj) then {
|
||||
// High priority. Sync must finish fast before player object isNull
|
||||
[_playerObj,nil,true,_inCombat] call server_playerSync;
|
||||
[_playerObj,nil,true,[],_inCombat] call server_playerSync;
|
||||
|
||||
/*
|
||||
Low priority code below this point where
|
||||
|
||||
Reference in New Issue
Block a user