diff --git a/SQF/dayz_code/actions/dayz_spaceInterrupt.sqf b/SQF/dayz_code/actions/dayz_spaceInterrupt.sqf index c31c37852..b5fabfbf7 100644 --- a/SQF/dayz_code/actions/dayz_spaceInterrupt.sqf +++ b/SQF/dayz_code/actions/dayz_spaceInterrupt.sqf @@ -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 \ No newline at end of file +_handled