Fixed: only exit on shooter.

This commit is contained in:
jaynus 2015-04-15 09:25:19 -07:00
parent c793df4848
commit 5923f246fd

View File

@ -4,7 +4,7 @@
PARAMS_7(_shooter,_weapon,_muzzle,_mode,_ammo,_magazine,_projectile);
// Bail on not missile
if(! (_weapon in ["launch_Titan_short_F"]) ) exitWith { false };
if( _shooter != ACE_player || { ! (_weapon in ["launch_Titan_short_F"]) } ) exitWith { false };
_pfh_handle = uiNamespace getVariable ["ACE_RscOptics_javelin_PFH", nil];
if(!isNil "_pfh_handle") then {