mirror of
https://github.com/maca134/ExileLootDrop.git
synced 2024-08-30 17:22:13 +00:00
Merge pull request #1 from Torndeco/patch-1
Update ExileServer_system_lootManager_spawnLootInBuilding.sqf
This commit is contained in:
commit
90384706e3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user