mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-10-03 16:11:36 +03:00
Merge pull request #1600 from BangL/master
custom CfgVehicles? i dont think so
This commit is contained in:
commit
196a8b2e94
1 file changed
+2
-5
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user