Saved games folder for Retribution

This commit is contained in:
Raffson 2022-09-25 18:20:40 +02:00
parent 667cb8c0b3
commit 04bce081e9
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -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: