mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
added nil check for function ace_frag_fnc_fired
This commit is contained in:
parent
fb93e9e9bc
commit
4543bab7fb
@ -123,7 +123,9 @@ if (_activated) then {
|
||||
if (_attach) then {_projectile attachto [_logic,[0,0,_altitude]];};
|
||||
|
||||
// This is our addition to this function
|
||||
if (!isnil "ace_frag_fnc_fired") then {
|
||||
[_logic, "", "", "", _ammo, "", _projectile] call ace_frag_fnc_fired;
|
||||
};
|
||||
|
||||
//--- Play sound
|
||||
if (_sound != "") then {[[_logic,_sound,"say3D"],"bis_fnc_sayMessage"] call bis_fnc_mp;};
|
||||
|
Loading…
Reference in New Issue
Block a user