Support defining max frontline length in campaign

Resolve #25
This commit is contained in:
Raffson 2022-12-02 22:45:57 +01:00
parent dd98a1d078
commit e38a6cd907
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -142,6 +142,7 @@ class NewGameWizard(QtWidgets.QWizard):
),
automate_aircraft_reinforcements=self.field("automate_aircraft_purchases"),
supercarrier=self.field("supercarrier"),
max_frontline_length=campaign.data.get("max_frontline_length", 80),
)
generator_settings = GeneratorSettings(
start_date=start_date,