mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
fixed: restore game
This commit is contained in:
parent
263858838f
commit
97267e9a77
1 changed files with 3 additions and 3 deletions
|
@ -3202,14 +3202,14 @@ class Game(object):
|
|||
game.saveinfo.__dict__.update(saveinfo.__dict__)
|
||||
gsaveinfo = pload(Struct)
|
||||
game.gsaveinfo.__dict__.update(gsaveinfo.__dict__)
|
||||
moves = pload(Struct)
|
||||
moves = pload(GameMoves)
|
||||
game.moves.__dict__.update(moves.__dict__)
|
||||
snapshots = pload(list)
|
||||
game.snapshots = snapshots
|
||||
if 0 <= bookmark <= 1:
|
||||
gstats = pload(Struct)
|
||||
gstats = pload(GameGlobalStatsStruct)
|
||||
game.gstats.__dict__.update(gstats.__dict__)
|
||||
stats = pload(Struct)
|
||||
stats = pload(GameStatsStruct)
|
||||
game.stats.__dict__.update(stats.__dict__)
|
||||
game._loadGameHook(p)
|
||||
dummy = pload(str)
|
||||
|
|
Loading…
Add table
Reference in a new issue