mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix suicide bomber explosion position (#6323)
This commit is contained in:
parent
898c01587a
commit
5f67e81355
@ -60,7 +60,7 @@ if (_autoSeek) then {
|
||||
// Detonation
|
||||
private _nearObjects = (_unit nearObjects _activationRadius) select {side _x == _activationSide && {_x != _unit} && {alive _x}};
|
||||
if !(_nearObjects isEqualTo []) then {
|
||||
createVehicle [EXPLOSIVES select _explosionSize, getPos _unit, [], 0, "CAN_COLLIDE"];
|
||||
createVehicle [EXPLOSIVES select _explosionSize, _unit, [], 0, "CAN_COLLIDE"];
|
||||
[_pfhID] call CBA_fnc_removePerFrameHandler;
|
||||
LOG("Explosion created, PFH removed");
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user