mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Clean up ConflictTheater constructor.
Now that all theaters are defined in YAML, we can lose some of the mess in this class.
This commit is contained in:
@@ -120,6 +120,8 @@ class Campaign:
|
||||
with logged_duration("Importing miz data"):
|
||||
MizCampaignLoader(self.path.parent / miz, t).populate_theater()
|
||||
|
||||
# TODO: Move into MizCampaignLoader so this doesn't have unknown initialization
|
||||
# in ConflictTheater.
|
||||
# Load IADS Config from campaign yaml
|
||||
iads_data = self.data.get("iads_config", [])
|
||||
t.iads_network = IadsNetwork(advanced_iads, iads_data)
|
||||
|
||||
Reference in New Issue
Block a user