mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-10-03 11:21:36 +03:00
Disable Respawn if player dead
This commit is contained in:
1 parent
9927690fdc
commit
68f5b2a081
1 file changed
+1
-1
@@ -14,7 +14,7 @@ _timeMax = diag_tickTime+10;
|
||||
dayz_lastCheckBit = time;
|
||||
|
||||
// if(r_player_dead) exitWith {_btnAbort ctrlEnable true;};
|
||||
if(r_fracture_legs) then {_btnRespawn ctrlEnable true;};
|
||||
if(r_fracture_legs && !r_player_dead) then {_btnRespawn ctrlEnable true;};
|
||||
|
||||
//force gear save
|
||||
if (!r_player_dead and time - dayz_lastCheckBit > 10) then {
|
||||
|
||||
Reference in new issue
Block a user