From 6b0ebbf99d86f18f101b8cb4056042b0231ae31d Mon Sep 17 00:00:00 2001 From: Skaronator Date: Sat, 22 Mar 2014 02:37:15 +0100 Subject: [PATCH] Disable ESC after death --- SQF/dayz_code/actions/dayz_spaceInterrupt.sqf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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