From d73e1b656c048873efb02b00c38306196e2e920c Mon Sep 17 00:00:00 2001 From: "[VB]AWOL" Date: Mon, 21 Oct 2013 17:29:25 -0500 Subject: [PATCH] reduce items per pile just a little fixes: #598 --- SQF/dayz_code/compile/spawn_loot.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);