diff --git a/SQF/dayz_code/compile/keyboard.sqf b/SQF/dayz_code/compile/keyboard.sqf index 6ce9984b2..9516ed6c4 100644 --- a/SQF/dayz_code/compile/keyboard.sqf +++ b/SQF/dayz_code/compile/keyboard.sqf @@ -349,7 +349,7 @@ 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_para_keydown;"];}; // halo in progress + if (!isNil "bis_fnc_halo_keydown_eh") then {bis_fnc_halo_keydown_eh = (finddisplay 46) displayaddeventhandler ["keydown","_this call bis_fnc_halo_keydown;"];}; // halo in progress //diag_log [diag_ticktime, __FILE__, "eh reset" ]; }; diff --git a/SQF/dayz_code/system/player_monitor.fsm b/SQF/dayz_code/system/player_monitor.fsm index 13339592c..37103a86f 100644 --- a/SQF/dayz_code/system/player_monitor.fsm +++ b/SQF/dayz_code/system/player_monitor.fsm @@ -979,8 +979,8 @@ class FSM "progressLoadingScreen 0.95;" \n "dayz_loadScreenMsg = localize 'str_player_setup_completed';" \n "_torev4l=nearestObjects [_setPos, Dayz_plants + DayZ_GearedObjects + [""AllVehicles"",""WeaponHolder""], 50];" \n - "{ [_x,0] spawn object_roadFlare } count (allMissionObjects ""RoadFlare"");" \n - "{ [_x,1] spawn object_roadFlare } count (allMissionObjects ""ChemLight"");" \n + "{ _null = [_x,0] spawn object_roadFlare; } count (allMissionObjects ""RoadFlare"");" \n + "{ _null = [_x,1] spawn object_roadFlare; } count (allMissionObjects ""ChemLight"");" \n "{" \n " _fadeFire = _x getVariable['fadeFire', true];" \n " if (!_fadeFire) then {" \n