Skip to content

Commit

Permalink
Merge pull request #1 from Torndeco/patch-1
Browse files Browse the repository at this point in the history
Update ExileServer_system_lootManager_spawnLootInBuilding.sqf
  • Loading branch information
maca134 authored Sep 28, 2016
2 parents 5dbbcb3 + eaf0b94 commit 9038470
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sqf/ExileServer_system_lootManager_spawnLootInBuilding.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9038470

Please sign in to comment.