From 48f8730415f40310bb8e13b18d4b660c92997d7c Mon Sep 17 00:00:00 2001 From: ulteq Date: Sun, 7 Jun 2015 11:43:32 +0200 Subject: [PATCH] Removed dead code --- addons/huntir/functions/fnc_keyPressed.sqf | 2 -- 1 file changed, 2 deletions(-) diff --git a/addons/huntir/functions/fnc_keyPressed.sqf b/addons/huntir/functions/fnc_keyPressed.sqf index 11d42cd75d..509dcb9de5 100644 --- a/addons/huntir/functions/fnc_keyPressed.sqf +++ b/addons/huntir/functions/fnc_keyPressed.sqf @@ -54,14 +54,12 @@ switch (_this select 1) do { GVAR(NV) = 1; if (!GVAR(IRON)) then { GVAR(IRON) = true; - ["ace_ir_on", []] call CBA_fnc_localEvent; }; } else { setAperture -1; camUseNVG false; GVAR(NV) = 0; GVAR(IRON) = false; - ["ace_ir_off", []] call CBA_fnc_localEvent; // TODO: also on death etc? }; _ret = true; };