Save-compat changes to allow loading Liberation saves

May be incomplete, some discrepancies in naming may still exist, but at least Kerbo's campaign can be loaded.
This commit is contained in:
Raffson
2023-07-01 17:08:12 +02:00
parent aaaa9847b1
commit 3b745c43eb
5 changed files with 30 additions and 3 deletions

View File

@@ -326,7 +326,8 @@ class QLiberationWindow(QMainWindow):
def migrate_game(self, game, path):
if game:
Migrator(game)
is_liberation = ".liberation" in path
Migrator(game, is_liberation)
else:
relative_path = Path(path)
QMessageBox.critical(