Skip to content

Commit

Permalink
finally a fix for defense box fuckup
Browse files Browse the repository at this point in the history
  • Loading branch information
nomisum committed Nov 1, 2015
1 parent 6659404 commit d82cee7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
10 changes: 8 additions & 2 deletions spawn/gui/calculateVehicleCall.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ calculateRussianVehicleCall = {
_countLeft,
_price,
_priceDisplay,
_eta
_eta,
_source_array select 6,
_source_array select 7,
_source_array select 8
];

//if (DEBUG) then { diag_log format ["calculateVehicleCall: %1",_target_array]; };
Expand Down Expand Up @@ -47,7 +50,10 @@ calculateUSVehicleCall = {
_countLeft,
_price,
_priceDisplay,
_eta
_eta,
_source_array select 6,
_source_array select 7,
_source_array select 8
];

//if (DEBUG) then { diag_log format ["calculateVehicleCall: %1",_target_array]; };
Expand Down
4 changes: 1 addition & 3 deletions spawn/gui/orderRussianVehicle.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ _tempRussian_4 = (russianSupplies select 4);
_tempRussian_5 = (russianSupplies select 5);
_tempRussian_6 = (russianSupplies select 6);
_tempRussian_7 = (russianSupplies select 7);
_tempRussian_8 = (russianSupplies select 8);

_oldMoney = (russianSupplies select 0);
_price = [_idc] call russian_IDC_to_price;
Expand Down Expand Up @@ -93,8 +92,7 @@ _tempSupplies =
_tempRussian_4,
_tempRussian_5,
_tempRussian_6,
_tempRussian_7,
_tempRussian_8
_tempRussian_7
];

[_tempSupplies,false,0,_vehicleOrdered,_vehicleExtras,_vehicleCalls,_vehicleEta] call refreshRussianUI;
Expand Down
1 change: 0 additions & 1 deletion spawn/gui/orderUSVehicle.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ _tempUS_4 = (USSupplies select 4);
_tempUS_5 = (USSupplies select 5);
_tempUS_6 = (USSupplies select 6);
_tempUS_7 = (USSupplies select 7);
_tempUS_8 = (USSupplies select 8);

_oldMoney = (USSupplies select 0);
_price = [_idc] call US_IDC_to_price;
Expand Down

0 comments on commit d82cee7

Please sign in to comment.