mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-19 18:06:32 +03:00
Add anti logout if a EVR Storm is running, also include dayz_soundMuted check
This commit is contained in:
@@ -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)];
|
||||
|
||||
Reference in New Issue
Block a user