mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Disable ESC after death
This commit is contained in:
@@ -20,6 +20,10 @@ if (_dikCode == 0x01) then {
|
||||
DZE_cancelBuilding = true;
|
||||
call dayz_EjectPlayer;
|
||||
};
|
||||
// Disable ESC after death
|
||||
if (_dikCode == 0x01 && r_player_dead) then {
|
||||
_handled = true;
|
||||
};
|
||||
|
||||
// surrender
|
||||
if (_dikCode in actionKeys "Surrender") then {
|
||||
@@ -185,4 +189,4 @@ if (_dikCode == 0x39 or (_dikCode in actionKeys "User19")) then {
|
||||
DZE_5 = true;
|
||||
};
|
||||
|
||||
_handled
|
||||
_handled
|
||||
|
||||
Reference in New Issue
Block a user