Skip to content

Commit be63ca6

Browse files
committed
less IFs
1 parent b355259 commit be63ca6

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

source/INIT.sqf

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,8 @@ if (isMultiplayer) then {
173173
if (support_armory_available) then {
174174
hq_blu1 addaction ["<t color='#ff0066'>Armory 1 (VAS)</t>","VAS\open.sqf", "", 0, true, true, "", "_this == player"];
175175
hq_blu1 addaction ["<t color='#ff0066'>Armory 2 (VA)</t>","bisArsenal.sqf", "", 0, true, true, "", "_this == player"];
176-
};
177-
178-
if (support_armory_available) then {
179-
_x addaction ["<t color='#ff0066'>Armory 1 (VAS)</t>","VAS\open.sqf", "", 0, true, true, "", "_this == player"];
180-
_x addaction ["<t color='#ff0066'>Armory 2 (VA)</t>","bisArsenal.sqf", "", 0, true, true, "", "_this == player"];
181-
} forEach (Array_of_FOBS);
176+
{ _x addaction ["<t color='#ff0066'>Armory 1 (VAS)</t>","VAS\open.sqf", "", 0, true, true, "", "_this == player"];
177+
_x addaction ["<t color='#ff0066'>Armory 2 (VA)</t>","bisArsenal.sqf", "", 0, true, true, "", "_this == player"]; } forEach (Array_of_FOBS);
182178

183179

184180
if (_revive_activated == 1) then {execVM "duws_revive\reviveInit.sqf"};

0 commit comments

Comments
 (0)