From a994e7107cba8425a97b943b335f29fc318cdb98 Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Sun, 17 Apr 2016 18:44:58 -0400 Subject: [PATCH] Fix readd of halo keydown eventhandler --- SQF/dayz_code/compile/keyboard.sqf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/compile/keyboard.sqf b/SQF/dayz_code/compile/keyboard.sqf index b756f32b0..6ce9984b2 100644 --- a/SQF/dayz_code/compile/keyboard.sqf +++ b/SQF/dayz_code/compile/keyboard.sqf @@ -349,8 +349,8 @@ if (isNil "keyboard_keys") then { (findDisplay 46) displayRemoveAllEventHandlers "KeyUp"; (findDisplay 46) displayRemoveAllEventHandlers "KeyDown"; (findDisplay 46) displayAddEventHandler ["KeyDown", preprocessFileLineNumbers (MISSION_ROOT+'keyboard.sqf')]; - if (!isNil "bis_fnc_halo_para_keydown_eh") then {bis_fnc_halo_para_keydown_eh = (finddisplay 46) displayAddEventHandler ["keydown","_this call bis_fnc_halo_keydown;"];}; // halo in progress - //diag_log [diag_ticktime, __FILE__, "eh reset" ]; + if (!isNil "bis_fnc_halo_para_keydown_eh") then {bis_fnc_halo_para_keydown_eh = (finddisplay 46) displayaddeventhandler ["keydown","_this call bis_fnc_halo_para_keydown;"];}; // halo in progress + //diag_log [diag_ticktime, __FILE__, "eh reset" ]; }; if (r_player_unconsciousInputDisabled) exitWith {true};