mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
Gem Trading mostly finished
Sometimes displays incorrect total price in advanced trading menu.
This commit is contained in:
@@ -91,6 +91,9 @@ if(_total > 0)then{
|
||||
_sellCurrency = _sell select 1;
|
||||
_part = (configFile >> "CfgMagazines" >> _sellCurrency);
|
||||
_worth = getNumber(_part >> "worth");
|
||||
if (_worth == 0) then {
|
||||
_worth = DZE_GemWorthList select (DZE_GemList find _buyCurrency);
|
||||
};
|
||||
}else{
|
||||
_buyCurrency = CurrencyName;
|
||||
_sellCurrency = CurrencyName;
|
||||
|
||||
Reference in New Issue
Block a user