mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Fix saving of saves from other machines.
Need to reset the persisted save paths on load, since the file that was loaded may have been moved since it was saved and the original location may no longer be accessible. Fixes https://github.com/dcs-liberation/dcs_liberation/issues/2756.
This commit is contained in:
@@ -73,7 +73,7 @@ class SaveGameBundle:
|
||||
with ZipFile(self.bundle_path) as zip_bundle:
|
||||
with zip_bundle.open(name, "r") as save:
|
||||
game = pickle.load(save)
|
||||
game.save_bundle = self
|
||||
game.save_manager.set_loaded_from(self)
|
||||
return game
|
||||
|
||||
def _update_bundle_member(
|
||||
|
||||
Reference in New Issue
Block a user