Fix dayz_lastSave variable again

Continuation of bca17aa.

This variable is set in player_forceSave and uses diag_tickTime.

Vanilla commits:

https://github.com/DayZMod/DayZ/commit/f8c88502e85ba9b2070d313b8d25a6e2a6fb8332

https://github.com/DayZMod/DayZ/commit/98af0ed8b936ea112de563f282f8177c8c1fb4cc
This commit is contained in:
ebayShopper
2017-03-20 16:46:11 -04:00
parent 7833f6743f
commit 8d545d14a1
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -604,7 +604,7 @@ if (!isDedicated) then {
dayz_disVisual = 0;
dayz_firedCooldown = 0;
dayz_damageCounter = time;
dayz_lastSave = time;
dayz_lastSave = diag_tickTime;
dayz_isSwimming = true;
dayz_currentDay = 0;
dayz_hasLight = false;