mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Fix forcesave check
thanks @eraser1
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user