Skip to content

Commit

Permalink
fixed brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasBrostrom committed Oct 27, 2021
1 parent 2fc4f04 commit 85eeecf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cScripts/functions/gear/fn_gear_setupRadios.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
*
*/

if !(EGVAR(patches,usesACRE) exitWith {};
if !(EGVAR(Settings,enableACRE) exitWith {};
if !(EGVAR(patches,usesACRE)) exitWith {};
if !(EGVAR(Settings,enableACRE)) exitWith {};
if (count allMissionObjects "acre_api_basicMissionSetup" > 0) exitWith {};
if (count allMissionObjects "acre_api_nameChannels" > 0) exitWith {};

Expand Down
4 changes: 2 additions & 2 deletions cScripts/functions/players/fn_setRadioChannel.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

params [["_player", objNull, [objNull]]];

if !(EGVAR(patches,usesACRE) exitWith {};
if !(EGVAR(Settings,enableACRE) exitWith {};
if !(EGVAR(patches,usesACRE)) exitWith {};
if !(EGVAR(Settings,enableACRE)) exitWith {};
if !(isPlayer player) exitWith {};

_player setVariable [QEGVAR(Player,RadioChannel), []];
Expand Down

0 comments on commit 85eeecf

Please sign in to comment.