Page 1 of 1

jump _main_menu no longer working ?

Posted: Wed Oct 08, 2014 3:50 am
by jack_norton
In the past I used:

Code: Select all

jump _main_menu
to go back to the main menu anytime from the game. Is it no longer supported ? if I do that I get this error (reported by an user):
Image

Re: jump _main_menu no longer working ?

Posted: Wed Oct 08, 2014 12:39 pm
by PyTom
I don't believe this was ever documented to work. _main_menu is supposed to be run in a different context.

The right way to return to the main menu is renpy.full_restart(), or the MainMenu action.

Re: jump _main_menu no longer working ?

Posted: Wed Oct 08, 2014 12:54 pm
by jack_norton
Ah OK :D will use the other method then, thanks!

Re: jump _main_menu no longer working ?

Posted: Wed Oct 08, 2014 8:47 pm
by PyTom
Do you have a game that exhibits this problem consistently?

There's some weirdness here insofar as even though this isn't supposed to work, the error isn't the right one. (And it's not the one I have here.) So out of an abundance of caution, I'd like to investigate this in the 6.18.3 timeframe, to make sure you're not getting your execution context corrupted somewhere else.

Re: jump _main_menu no longer working ?

Posted: Thu Oct 09, 2014 2:10 am
by jack_norton
If you still have the SOTW sources I sent you, I can send you a save that will trigger it :)