This commit is contained in:
icomrade
2014-05-27 13:51:35 -04:00
parent 2506636938
commit 88ded0f3c0
3 changed files with 3 additions and 3 deletions

View File

@@ -79,7 +79,7 @@ if (_spawnRoll <= _spawnChance) then {
} else {
_itemTypes = [] + getArray (configFile >> "CfgBuildingLoot" >> _lootTable >> "lootType");
};
_CBLBase = dayz_CBLBase find _lootTable;
_CBLBase = dayz_CBLBase find (toLower(_lootTable));
_weights = dayz_CBLChances select _CBLBase;
_cntWeights = count _weights;