The map uses hotspots which returns something to be evaluated in the "label_where_map_screen_is_called", something like:
Code: Select all
if _return == "place1":
jump place1_label
I've been using this code for a while but I never noticed the error it causes. Whenever I save the game, the loaded game isn't right. It is always at the point BEFORE the player can use the map. So I assume there's something wrong with my code at that point. So I change the code like this.
Code: Select all
if _return == "place1":
$ renpy.jump_out_of_context("place1_label")
The problem is, I don't know why.
I've been reading a bit here and there about context, about what ui.callsinnewcontext does, about what renpy.jump_out_of_context is, but I still don't get it. Can someone tell me what's going on? Is this the right fix or will there be any problem that I should expect next? Thank you all...