diff --git a/SQF/dayz_code/compile/wild_spawnZombies.sqf b/SQF/dayz_code/compile/wild_spawnZombies.sqf index d614b2a5e..240783e00 100644 --- a/SQF/dayz_code/compile/wild_spawnZombies.sqf +++ b/SQF/dayz_code/compile/wild_spawnZombies.sqf @@ -50,11 +50,8 @@ _agent setVariable ["newDest",_newDest]; //Add some loot _rnd = random 1; if (_rnd > 0.3) then { - if (DZE_MissionLootTable) then { - _lootType = getText (missionConfigFile >> "CfgVehicles" >> _type >> "zombieLoot"); - } else { - _lootType = getText (configFile >> "CfgVehicles" >> _type >> "zombieLoot"); - }; + + _lootType = getText (configFile >> "CfgVehicles" >> _type >> "zombieLoot"); if (DZE_MissionLootTable) then { _lootTypeCfg = getArray (missionConfigFile >> "CfgLoot" >> _lootType);