mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Remove redundant characterID check in server_playerSync
I made no changes apart from removing the (_characterID != "0") check and the corresponding spacing/tabs. If _characterID == "0" the script would have already exited on line 30.
This commit is contained in:
@@ -42,7 +42,6 @@ _isNewGear = if (!isNil "_magazines") then { true } else { false };
|
||||
//diag_log ("Starting Save... MED: " + str(_isNewMed) + " / POS: " + str(_isNewPos)); sleep 0.05;
|
||||
|
||||
//Check for player initiated updates
|
||||
if (_characterID != "0") then {
|
||||
_playerPos = [];
|
||||
_playerGear = [];
|
||||
_playerBackp = [];
|
||||
@@ -241,5 +240,3 @@ if (_characterID != "0") then {
|
||||
if (_timeSince > 0) then {
|
||||
_character setVariable ["lastTime",(diag_ticktime - _timeLeft)];
|
||||
};
|
||||
//};
|
||||
};
|
||||
Reference in New Issue
Block a user