Skip to content

Commit

Permalink
Ignore explosives placed without ace_explosives (#5962)
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror authored Dec 23, 2017
1 parent 00caa44 commit a819602
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/frag/functions/fnc_fired.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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 {};
Expand Down

0 comments on commit a819602

Please sign in to comment.