mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixed brackets
This commit is contained in:
parent
2cdc40a958
commit
bdb33d4dac
@ -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;
|
||||||
|
|
||||||
|
@ -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 {};
|
||||||
|
Loading…
Reference in New Issue
Block a user