Skip to content

Commit 88977ae

Browse files
committed
more clean syntax
1 parent fb8633f commit 88977ae

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
@@ -172,18 +172,14 @@ if (isMultiplayer) then {
172172

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"];
175-
};
176-
if (support_armory_available) then {
177175
hq_blu1 addaction ["<t color='#ff0066'>Armory 2 (VA)</t>","va.sqf", "", 0, true, true, "", "_this == player"];
178176
};
179177

180178
if (support_armory_available) then {
181-
_x addaction ["<t color='#ff0066'>Armory 1 (VAS)</t>","VAS\open.sqf", "", 0, true, true, "", "_this == player"]
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>","va.sqf", "", 0, true, true, "", "_this == player"];
182181
} forEach (Array_of_FOBS);
183182

184-
if (support_armory_available) then {
185-
_x addaction ["<t color='#ff0066'>Armory 2 (VA)</t>","va.sqf", "", 0, true, true, "", "_this == player"]
186-
} forEach (Array_of_FOBS);
187183

188184
if (_revive_activated == 1) then {execVM "duws_revive\reviveInit.sqf"};
189185
PlayerKilledEH = player addEventHandler ["killed", {commandpointsblu1 = commandpointsblu1 - DUWSMP_CP_death_cost; publicVariable "commandpointsblu1"}];

0 commit comments

Comments
 (0)