mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
more DZE_MissionLootTable fixes #1028
This commit is contained in:
@@ -75,6 +75,9 @@ if (_spawnRoll <= _spawnChance) then {
|
||||
};
|
||||
|
||||
_config = configFile >> "CfgBuildingLoot" >> _lootTable;
|
||||
if (DZE_MissionLootTable) then {
|
||||
_config = missionConfigFile >> "CfgBuildingLoot" >> _lootTable;;
|
||||
};
|
||||
_itemTypes = [] + getArray (_config >> "itemType");
|
||||
_index = dayz_CBLBase find toLower(_lootTable);
|
||||
_weights = dayz_CBLChances select _index;
|
||||
|
||||
Reference in New Issue
Block a user