more DZE_MissionLootTable fixes #1028

This commit is contained in:
[VB]AWOL
2014-01-29 11:41:54 -06:00
parent 51b8fdff05
commit 4573e9b5c0
11 changed files with 63 additions and 10 deletions

View File

@@ -8,6 +8,9 @@ if (dayz_spawnZombies > dayz_maxLocalZombies) exitwith {};
_obj = _this select 0;
_type = typeOf _obj;
_config = configFile >> "CfgBuildingLoot" >> _type;
if (DZE_MissionLootTable) then {
_config = missionConfigFile >> "CfgBuildingLoot" >> _type;
};
_canLoot = isClass (_config);
if (_canLoot) then {