mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-04 15:22:53 +03:00
Add DZE_MissionLootTable
This commit is contained in:
@@ -28,7 +28,7 @@ _vectorUp = vectorUp _this;
|
||||
if (Vector_Angle(Vector_UP,_vectorUp) > 20) exitWith { 0 };
|
||||
|
||||
_type = typeOf _this;
|
||||
_config = (configFile >> "CfgLoot" >> "Buildings" >> _type);
|
||||
_config = if (DZE_MissionLootTable) then {missionConfigFile >> "CfgLoot" >> "Buildings" >> _type} else {configFile >> "CfgLoot" >> "Buildings" >> _type};
|
||||
|
||||
if (!isClass _config) exitWith {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user