mirror of
https://github.com/EpochModTeam/Epoch.git
synced 2024-08-30 18:22:13 +00:00
One more Trader Limit fix
This commit is contained in:
parent
84d7167a14
commit
54b739a4a2
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user