Fixed brackets

This commit is contained in:
johnb432 2024-02-13 01:39:14 +01:00
parent 2cdc40a958
commit bdb33d4dac
2 changed files with 2 additions and 2 deletions

View File

@ -108,7 +108,7 @@ if (_delayBetweenSmokeAndFire) then {
{_intensity <= 1} || {_intensity <= 1} ||
{GVAR(cookoffDuration) == 0} || {GVAR(cookoffDuration) == 0} ||
{underwater _vehicle} || {underwater _vehicle} ||
{private _posASL = getPosWorld _vehicle; surfaceIsWater _posASL && {(_posASL select 2) < 0})} {private _posASL = getPosWorld _vehicle; surfaceIsWater _posASL && {(_posASL select 2) < 0}}
) exitWith { ) exitWith {
(_this select 1) call CBA_fnc_removePerFrameHandler; (_this select 1) call CBA_fnc_removePerFrameHandler;

View File

@ -32,7 +32,7 @@ if (
{GVAR(ammoCookoffDuration) == 0} || {GVAR(ammoCookoffDuration) == 0} ||
{!([GVAR(enableAmmoCookoff), GVAR(enableAmmobox)] select (_object isKindOf "ReammoBox_F"))} || {!([GVAR(enableAmmoCookoff), GVAR(enableAmmobox)] select (_object isKindOf "ReammoBox_F"))} ||
{!(_object getVariable [QGVAR(enableAmmoCookoff), true])} {!(_object getVariable [QGVAR(enableAmmoCookoff), true])}
}) exitWith {}; ) exitWith {};
// Don't have an object detonate its ammo twice // Don't have an object detonate its ammo twice
if (_object getVariable [QGVAR(isAmmoDetonating), false]) exitWith {}; if (_object getVariable [QGVAR(isAmmoDetonating), false]) exitWith {};