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
View File
@@ -9,6 +9,7 @@
[FIXED] Smoke and grenade tripwires now require a grenade to rearm after triggering.
[FIXED] Player no longer does medic animation after triggering a single use trap.
[FIXED] Removing a trap with no room in your gear will no longer delete the trap.
[FIXED] Player_forceSave is now called correctly when the abort menu is opened. It was previously using the wrong variable and time.
[NOTE] Fixes below are included in the mission file and server pbo as part of server package 1.0.6.1A (March 10th 2017)
[FIXED] Fixed food and drink going down 10x faster from melee and other "working" actions.
+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;