From d0a1463425eee06a8c0d00a339a2f3e53dfe4ce9 Mon Sep 17 00:00:00 2001 From: BangL Date: Fri, 12 Dec 2014 13:19:37 +0100 Subject: [PATCH] custom CfgVehicles? i dont think so --- SQF/dayz_code/compile/wild_spawnZombies.sqf | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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);