diff --git a/addons/modules/functions/fnc_moduleFireGL.sqf b/addons/modules/functions/fnc_moduleFireGL.sqf index 5bdfd09e8..1088a13df 100644 --- a/addons/modules/functions/fnc_moduleFireGL.sqf +++ b/addons/modules/functions/fnc_moduleFireGL.sqf @@ -52,7 +52,7 @@ if (_glMuzzles isEqualTo []) exitWith { // Get target position [_unit, { params ["_successful", "_unit", "_mousePosASL"]; - if _successful then { + if (_successful) then { private _weapons = weapons _unit; private _glMuzzles = []; { diff --git a/addons/modules/functions/fnc_moduleFireLauncher.sqf b/addons/modules/functions/fnc_moduleFireLauncher.sqf index b4789aee4..a49ac0830 100644 --- a/addons/modules/functions/fnc_moduleFireLauncher.sqf +++ b/addons/modules/functions/fnc_moduleFireLauncher.sqf @@ -41,7 +41,7 @@ if (_launcher isEqualTo "") exitWith { // Get target position [_unit, { params ["_successful", "_unit", "_mousePosASL"]; - if _successful then { + if (_successful) then { private _weapon = secondaryWeapon _unit; private _magazine = getArray (configFile >> "CfgWeapons" >> _weapon >> "Magazines") # 0; diff --git a/addons/modules/functions/fnc_moduleThrowSelect.sqf b/addons/modules/functions/fnc_moduleThrowSelect.sqf index f55120a5d..46fcf014c 100644 --- a/addons/modules/functions/fnc_moduleThrowSelect.sqf +++ b/addons/modules/functions/fnc_moduleThrowSelect.sqf @@ -46,7 +46,7 @@ private _action = []; // Get target position [_unit, { params ["_successful", "_unit", "_mousePosASL", "_arguments"]; - if _successful then { + if (_successful) then { _arguments params ["_magazine"]; private _muzzle = configName (("_magazine in (getArray (_x >> 'magazines'))" configClasses (configFile >> "CfgWeapons" >> "Throw")) # 0); private _firemode = _muzzle;