Add logic for specification of ground_units in campaign yaml file

Resolves #22
This commit is contained in:
Raffson
2023-02-12 21:24:21 +01:00
parent 34b9d8c334
commit d9967bda8f
7 changed files with 65 additions and 3 deletions

View File

@@ -318,6 +318,7 @@ def create_game(
no_lha=False,
no_player_navy=False,
no_enemy_navy=False,
tgo_config=campaign.load_ground_forces_config(),
),
ModSettings(
a4_skyhawk=False,

View File

@@ -172,6 +172,7 @@ class NewGameWizard(QtWidgets.QWizard):
no_lha=self.field("no_lha"),
no_player_navy=self.field("no_player_navy"),
no_enemy_navy=self.field("no_enemy_navy"),
tgo_config=campaign.load_ground_forces_config(),
)
mod_settings = ModSettings(
a4_skyhawk=self.field("a4_skyhawk"),