From fa9cf0280c0d580c93cf9b90d84f32ee29d6d242 Mon Sep 17 00:00:00 2001 From: jaynus Date: Tue, 7 Apr 2015 12:44:15 -0700 Subject: [PATCH] script error --- .../laser_selfdesignate/functions/fnc_laserHudDesignateOn.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/laser_selfdesignate/functions/fnc_laserHudDesignateOn.sqf b/addons/laser_selfdesignate/functions/fnc_laserHudDesignateOn.sqf index c85c7d3c43..b4535357ab 100644 --- a/addons/laser_selfdesignate/functions/fnc_laserHudDesignateOn.sqf +++ b/addons/laser_selfdesignate/functions/fnc_laserHudDesignateOn.sqf @@ -13,7 +13,7 @@ FUNC(laserHudDesignatePFH) = { TRACE_1("", _args); - if(vehicle ACE_player) != _shooter || !alive _shooter || isNull _vehicle || isNull _laserTarget || !GVAR(active) ) exitWith { + if((vehicle ACE_player) != _shooter || !alive _shooter || isNull _vehicle || isNull _laserTarget || !GVAR(active) ) exitWith { [_vehicle, _shooter, _laserTarget] call FUNC(laserHudDesignateOff); }; if(!([_shooter] call FUNC(unitTurretHasDesignator)) ) exitWith {