mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Move mission generation code into game.
Operation has been renamed MissionGenerator and is no longer a static class.
This commit is contained in:
@@ -38,8 +38,8 @@ def _autosave_path() -> str:
|
||||
return str(save_dir() / "autosave.liberation")
|
||||
|
||||
|
||||
def mission_path_for(name: str) -> str:
|
||||
return os.path.join(base_path(), "Missions", name)
|
||||
def mission_path_for(name: str) -> Path:
|
||||
return Path(base_path()) / "Missions" / name
|
||||
|
||||
|
||||
def load_game(path: str) -> Optional[Game]:
|
||||
|
||||
Reference in New Issue
Block a user