mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixed: only exit on shooter.
This commit is contained in:
parent
c793df4848
commit
5923f246fd
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user