Fixed: Get in/out of vehicle automatically turns off lasers

This commit is contained in:
jaynus 2015-04-03 10:10:57 -07:00
parent ca8537105f
commit 368b51e0ee

View File

@ -35,7 +35,10 @@ FUNC(laserHudDesignatePFH) = {
TRACE_1("", _args);
if(!alive _shooter || isNull _vehicle || isNull _laserTarget || !GVAR(laserActive) ) exitWith {
[(_this select 1)] call cba_fnc_removePerFrameHandler;
[] call FUNC(laserHudDesignateOff);
};
if(!([ACE_player] call FUNC(unitTurretHasDesignator)) ) exitWith {
[] call FUNC(laserHudDesignateOff);
};
// Retrieve the gunner and turret memory point information