mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Saved games folder for Retribution
This commit is contained in:
parent
667cb8c0b3
commit
04bce081e9
@ -28,15 +28,15 @@ def base_path() -> str:
|
||||
|
||||
|
||||
def save_dir() -> Path:
|
||||
return Path(base_path()) / "Liberation" / "Saves"
|
||||
return Path(base_path()) / "Retribution" / "Saves"
|
||||
|
||||
|
||||
def _temporary_save_file() -> str:
|
||||
return str(save_dir() / "tmpsave.liberation")
|
||||
return str(save_dir() / "tmpsave.retribution")
|
||||
|
||||
|
||||
def _autosave_path() -> str:
|
||||
return str(save_dir() / "autosave.liberation")
|
||||
return str(save_dir() / "autosave.retribution")
|
||||
|
||||
|
||||
def mission_path_for(name: str) -> Path:
|
||||
@ -70,7 +70,7 @@ def autosave(game: Game) -> bool:
|
||||
"""
|
||||
Autosave to the autosave location
|
||||
:param game: Game to save
|
||||
:return: True if saved succesfully
|
||||
:return: True if saved successfully
|
||||
"""
|
||||
try:
|
||||
with open(_autosave_path(), "wb") as f:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user