mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix CLI campaign generator.
Factions can be loaded from the user directory now so we need to know where that is.
This commit is contained in:
parent
0d7f00aef6
commit
3c9d21e38d
@ -172,6 +172,12 @@ def create_game(
|
||||
inverted: bool,
|
||||
cheats: bool,
|
||||
) -> Game:
|
||||
first_start = liberation_install.init()
|
||||
if first_start:
|
||||
sys.exit(
|
||||
"Cannot generate campaign without configuring DCS Liberation. Start the UI "
|
||||
"for the first run configuration."
|
||||
)
|
||||
campaign = Campaign.from_json(campaign_path)
|
||||
generator = GameGenerator(
|
||||
blue,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user