Skip to content

Commit 3949002

Browse files
committed
Removed code that added Comm Menu Items when purchasing supports
1 parent 70fa5ce commit 3949002

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

source/dialog/request_support.sqf

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ switch (_index2) do {
66
if (!support_supplydrop_available) then {
77
commandpointsblu1 = commandpointsblu1 - 5;
88
ctrlSetText [1000, format["%1",commandpointsblu1]];
9-
_supplydrop = [player,"ammo"] call BIS_fnc_addCommMenuItem;
109
lbSetColor [2103, index_support_supply, [0, 1, 0, 1]];
1110
playSound "boots";
1211
support_supplydrop_available = true;
@@ -22,7 +21,6 @@ switch (_index2) do {
2221
if (!support_arty_available) then {
2322
commandpointsblu1 = commandpointsblu1 - 20;
2423
ctrlSetText [1000, format["%1",commandpointsblu1]];
25-
_supplydrop = [player,"artillery"] call BIS_fnc_addCommMenuItem;
2624
lbSetColor [2103, index_support_arty, [0, 1, 0, 1]];
2725
playSound "boots";
2826
support_arty_available = true;
@@ -38,7 +36,6 @@ switch (_index2) do {
3836
if (!support_mortar_available) then {
3937
commandpointsblu1 = commandpointsblu1 - 10;
4038
ctrlSetText [1000, format["%1",commandpointsblu1]];
41-
_supplydrop = [player,"mortar"] call BIS_fnc_addCommMenuItem;
4239
lbSetColor [2103, index_support_mortar, [0, 1, 0, 1]];
4340
playSound "boots";
4441
support_mortar_available = true;
@@ -54,7 +51,6 @@ switch (_index2) do {
5451
if (!support_paradrop_available) then {
5552
commandpointsblu1 = commandpointsblu1 - 20;
5653
ctrlSetText [1000, format["%1",commandpointsblu1]];
57-
_supplydrop = [player,"paradrop"] call BIS_fnc_addCommMenuItem;
5854
lbSetColor [2103, index_support_paradrop, [0, 1, 0, 1]];
5955
playSound "boots";
6056
support_paradrop_available = true;
@@ -70,7 +66,6 @@ switch (_index2) do {
7066
if (!support_jdam_available) then {
7167
commandpointsblu1 = commandpointsblu1 - 15;
7268
ctrlSetText [1000, format["%1",commandpointsblu1]];
73-
_supplydrop = [player,"jdam"] call BIS_fnc_addCommMenuItem;
7469
lbSetColor [2103, index_support_jdam, [0, 1, 0, 1]];
7570
playSound "boots";
7671
support_jdam_available = true;
@@ -125,7 +120,6 @@ switch (_index2) do {
125120
if (!support_uav_recon_available) then {
126121
commandpointsblu1 = commandpointsblu1 - 10;
127122
ctrlSetText [1000, format["%1",commandpointsblu1]];
128-
_uav_recon = [player,"uav_recon"] call BIS_fnc_addCommMenuItem;
129123
lbSetColor [2103, index_support_uavrecon, [0, 1, 0, 1]];
130124
playSound "boots";
131125
support_uav_recon_available = true;
@@ -141,7 +135,6 @@ switch (_index2) do {
141135
if (!support_veh_refit_available) then {
142136
commandpointsblu1 = commandpointsblu1 - 3;
143137
ctrlSetText [1000, format["%1",commandpointsblu1]];
144-
_veh_refit = [player,"vehicle_refit"] call BIS_fnc_addCommMenuItem;
145138
lbSetColor [2103, index_support_refit, [0, 1, 0, 1]];
146139
playSound "loadgun";
147140
support_veh_refit_available = true;
@@ -157,7 +150,6 @@ switch (_index2) do {
157150
if (!support_helotaxi_available) then {
158151
commandpointsblu1 = commandpointsblu1 - 3;
159152
ctrlSetText [1000, format["%1",commandpointsblu1]];
160-
_veh_refit = [player,"helo_taxi"] call BIS_fnc_addCommMenuItem;
161153
lbSetColor [2103, index_support_helotaxi, [0, 1, 0, 1]];
162154
playSound "boots";
163155
support_helotaxi_available = true;
@@ -173,7 +165,6 @@ switch (_index2) do {
173165
if (!support_cluster_available) then {
174166
commandpointsblu1 = commandpointsblu1 - 25;
175167
ctrlSetText [1000, format["%1",commandpointsblu1]];
176-
_cluster = [player1,"cluster"] call BIS_fnc_addCommMenuItem;
177168
lbSetColor [2103, index_support_cluster, [0, 1, 0, 1]];
178169
playSound "boots";
179170
support_cluster_available = true;
@@ -210,7 +201,6 @@ switch (_index2) do {
210201
ctrlSetText [1000, format["%1",commandpointsblu1]];
211202
lbSetColor [2103, index_support_boattaxi, [0, 1, 0, 1]];
212203
support_boattaxi_available = true;
213-
_supplydrop = [player,"boat_taxi"] call BIS_fnc_addCommMenuItem;
214204
playSound "boots";
215205
} else {
216206
hint "This support is already available";

0 commit comments

Comments
 (0)