Add anti logout if a EVR Storm is running, also include dayz_soundMuted check

This commit is contained in:
A Man
2022-05-05 17:59:57 +02:00
parent 89d4bdfc9a
commit 8221387b90
4 changed files with 23 additions and 7 deletions

View File

@@ -64,6 +64,10 @@ while {(!isNull _display) && !r_player_dead} do {
closeDialog 2;
};
};
case (DZE_EVRStormRunning) : {
_btnAbort ctrlEnable false;
[localize "STR_EPOCH_PLAYER_12_1",1] call dayz_rollingMessages;
};
case (_inCombat) : {
_btnAbort ctrlEnable false;
_btnAbort ctrlSetText format["%1 (in %2)", _btnAbortText, ceil (_timeout - diag_tickTime)];