Skip to content

Commit

Permalink
Fix suicide bomber explosion position (#6323)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vdauphin authored and kymckay committed May 4, 2018
1 parent 898c015 commit 5f67e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/zeus/functions/fnc_moduleSuicideBomber.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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");
};
Expand Down

0 comments on commit 5f67e81

Please sign in to comment.