Gameil MaraTDuoDev
Your approach for save game update logic is very inefficient: it works only in certain places and generally expects that the game was saved in a "good" place like home. It's very unreliable and goes not work well in most cases.
Instead, you should use RenPy's special `after_load` label:
Example:
Python:
label after_load:
# Notice that the order of versions is opposite to what you have in `update_game`
# DO NOT USE ANY "JUMP" INSTRUCTIONS HERE
if game_version == "0.1":
# Stuff for v0.1 to v0.2 migration
$ game_version = "0.2"
# ... code for all other versions
if game_version == "0.7":
# Stuff for v0.7 to v0.7a migration
$ game_version = "0.7a"
return # This return statement is requred
Also check docs on "default" keyword:
You must be registered to see the links
You should use "default" keyword for all new variable that you add between versions. This way you will not need to add any "update" logic at all: variables will be initialized automatically.
PS: Ping me if you need some hints on coding.