From a819602c8aac083b8c9cab240348eec135633bf9 Mon Sep 17 00:00:00 2001 From: PabstMirror Date: Fri, 22 Dec 2017 18:34:35 -0600 Subject: [PATCH] Ignore explosives placed without ace_explosives (#5962) --- addons/frag/functions/fnc_fired.sqf | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/frag/functions/fnc_fired.sqf b/addons/frag/functions/fnc_fired.sqf index b1e29a79caf..a9d13cde081 100644 --- a/addons/frag/functions/fnc_fired.sqf +++ b/addons/frag/functions/fnc_fired.sqf @@ -54,6 +54,7 @@ if (_shouldAdd) then { private _localShooter = if (isNil "_gunner") then {local _unit} else {local _gunner}; TRACE_4("",_localShooter,_unit,_ammo,_projectile); if (!_localShooter) exitWith {}; + if (_weapon == "Put") exitWith {}; // Ignore explosives placed without ace_explosives // Skip if less than 0.5 second from last shot if ((CBA_missionTime - (_unit getVariable [QGVAR(lastTrack), -1])) < 0.5) exitWith {};