One more Trader Limit fix

This commit is contained in:
He-Man 2018-03-30 16:17:27 +02:00
parent 84d7167a14
commit 54b739a4a2

View File

@ -61,7 +61,7 @@ _TraderItemsClean = {
_currentStock = _currentStock / _maxrnd;
if (_currentStock >= (_TraderItemCountPerItem select 0)) then {
_currentStock = _TraderItemCountPerItem select 1;
(_arr select 1) set [_idx,_currentStock];
(_arr select 1) set [_idx,_currentStock*_maxrnd];
_arrchanged = true;
};
if (_currentStock == 0) then {