From 97a30adc3bddb0c86b67f29416869df27ebbbdda Mon Sep 17 00:00:00 2001 From: ebayShopper Date: Wed, 25 Oct 2017 14:12:01 -0400 Subject: [PATCH] Fix gem sell currency typo @icomrade Correct me if I'm wrong, but it looks like this was a copy paste typo from https://github.com/EpochModTeam/DayZ-Epoch/blob/master/SQF/dayz_code/actions/AdvancedTrading/functions/z_at_calcBuyableList.sqf#L57 in 83694a4 --- .../AdvancedTrading/functions/z_at_checkArrayInConfig.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/actions/AdvancedTrading/functions/z_at_checkArrayInConfig.sqf b/SQF/dayz_code/actions/AdvancedTrading/functions/z_at_checkArrayInConfig.sqf index 630864167..f6e94dd14 100644 --- a/SQF/dayz_code/actions/AdvancedTrading/functions/z_at_checkArrayInConfig.sqf +++ b/SQF/dayz_code/actions/AdvancedTrading/functions/z_at_checkArrayInConfig.sqf @@ -102,7 +102,7 @@ _processGear = { _sellCurrency = _sell select 1; _part = (configFile >> "CfgMagazines" >> _sellCurrency); _worth = getNumber(_part >> "worth"); - if (_worth == 0) then { _worth = DZE_GemWorthList select (DZE_GemList find _buyCurrency); }; + if (_worth == 0) then { _worth = DZE_GemWorthList select (DZE_GemList find _sellCurrency); }; } else { _buyCurrency = CurrencyName; _sellCurrency = CurrencyName;