From eaf0b942b172ed699f188aca81f7c256bf16a33d Mon Sep 17 00:00:00 2001 From: Torndeco Date: Wed, 28 Sep 2016 12:53:11 +0100 Subject: [PATCH] Update ExileServer_system_lootManager_spawnLootInBuilding.sqf --- sqf/ExileServer_system_lootManager_spawnLootInBuilding.sqf | 1 + 1 file changed, 1 insertion(+) diff --git a/sqf/ExileServer_system_lootManager_spawnLootInBuilding.sqf b/sqf/ExileServer_system_lootManager_spawnLootInBuilding.sqf index b862517..b915e35 100644 --- a/sqf/ExileServer_system_lootManager_spawnLootInBuilding.sqf +++ b/sqf/ExileServer_system_lootManager_spawnLootInBuilding.sqf @@ -38,6 +38,7 @@ _lootWeaponHolderNetIDs = []; _lootHolder = objNull; _numberOfItemsToSpawn = (floor (random _maximumNumberOfItemsPerLootSpot)) + 1; _itemClassNames = [_lootTableName, _numberOfItemsToSpawn] call ExileServer_system_lootManager_dropItem; + if (_itemClassNames isEqualType "") then {_itemClassNames = [_itemClassNames];}; { _itemClassName = _x; if !(_itemClassName in _spawnedItemClassNames) then