mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
only do engine burning effect if cookoff is enabled
This commit is contained in:
parent
9a93dffc3b
commit
d0d407a2c5
@ -168,6 +168,8 @@ if ("ace_cookoff" call EFUNC(common,isModLoaded)) then {
|
||||
|
||||
if (_position distance _enginePosition < EFFECT_SIZE * 2) then {
|
||||
_vehicle setHit [_engineSelection, 1];
|
||||
_vehicle call EFUNC(cookoff,engineFire);
|
||||
if (EGVAR(cookoff,enable)) then {
|
||||
_vehicle call EFUNC(cookoff,engineFire);
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user