diff --git a/SQF/dayz_code/compile/spawn_loot.sqf b/SQF/dayz_code/compile/spawn_loot.sqf index c756a4560..99daf9d5e 100644 --- a/SQF/dayz_code/compile/spawn_loot.sqf +++ b/SQF/dayz_code/compile/spawn_loot.sqf @@ -19,7 +19,7 @@ switch (_iClass) do _weights = dayz_CLChances select _index; _cntWeights = count _weights; _qty = 0; - _max = 1 + ceil(random 2); + _max = 1 + round(random 2); while {_qty < _max} do { _tQty = 1 + round(random 1);