mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Ignore explosives placed without ace_explosives (#5962)
This commit is contained in:
parent
4cfa64d73a
commit
8e6e2b3283
@ -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 {};
|
||||
|
Loading…
Reference in New Issue
Block a user