From c8d5010e89135e8ae883854ce9ce657c5af864cb Mon Sep 17 00:00:00 2001 From: worldwidesorrow Date: Fri, 10 Jan 2020 07:23:33 -0600 Subject: [PATCH] Fix copy/paste fail --- SQF/dayz_code/loot/spawn.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/loot/spawn.sqf b/SQF/dayz_code/loot/spawn.sqf index 8f4f74503..a6b787388 100644 --- a/SQF/dayz_code/loot/spawn.sqf +++ b/SQF/dayz_code/loot/spawn.sqf @@ -136,7 +136,7 @@ call { //Number of items to spawn _spawnCount = (_lootInfo select 3) + floor random ((_lootInfo select 4) - (_lootInfo select 3) + 1); - Loot_InsertCargo(_vehicle, _item, _spawnCount); + Loot_InsertCargo(_vehicle, _lootInfo select 2, _spawnCount); _vehicle setDir random 360; if (_isWater) then {