Remove DZE_advancedTrading config variable

The legacy config trader menu was removed, so this variable is redundant
now.
This commit is contained in:
ebaydayz
2016-08-23 14:26:17 -04:00
parent c871c1e2c1
commit 7d27b5c0b1
2 changed files with 7 additions and 8 deletions

View File

@@ -1026,7 +1026,7 @@ if (!isNull _cursorTarget && !_inVehicle && !_isPZombie && (player distance _cur
_buy = player addAction [format["Trade %1 %2 for %3 %4",(_x select 3),(_x select 5),(_x select 2),(_x select 6)], "\z\addons\dayz_code\actions\trade_items_wo_db.sqf",[(_x select 0),(_x select 1),(_x select 2),(_x select 3),(_x select 4),(_x select 5),(_x select 6)], (_x select 7), true, true];
s_player_parts set [count s_player_parts,_buy];
} count (_traderMenu select 1);
if (DZE_advancedTrading && DZE_ConfigTrader) then {
if (DZE_ConfigTrader) then {
_buyV = player addAction [localize "STR_EPOCH_PLAYER_289", "\z\addons\dayz_code\actions\AdvancedTrading\init.sqf",(_traderMenu select 0), 999, true, false];
s_player_parts set [count s_player_parts,_buyV];
} else {