Fix forcesave check

thanks @eraser1
This commit is contained in:
icomrade
2017-03-14 14:51:22 -04:00
parent 2e3f13bda2
commit bca17aa2d6

View File

@@ -14,9 +14,8 @@ _testTime = diag_tickTime;
if (r_fracture_legs or _isPZombie) then {_btnRespawn ctrlEnable true;};
dayz_lastCheckSave = time;
//force gear save
if (time - dayz_lastCheckSave > 10) then {
if (diag_tickTime - dayz_lastSave > 10) then {
call player_forceSave;
};