Skip to content

Commit

Permalink
if condition parens
Browse files Browse the repository at this point in the history
  • Loading branch information
ampersand38 committed Jun 29, 2020
1 parent b38addb commit 27120cc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion addons/modules/functions/fnc_moduleFireGL.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
{
Expand Down
2 changes: 1 addition & 1 deletion addons/modules/functions/fnc_moduleFireLauncher.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion addons/modules/functions/fnc_moduleThrowSelect.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 27120cc

Please sign in to comment.