In this forum we discuss the future of Ren'Py, both bug fixes and longer-term development. Pre-releases are announced and discussed here.
-
jack_norton
- Lemma-Class Veteran
- Posts: 4067
- Joined: Mon Jul 21, 2008 5:41 pm
- Completed: Too many! See my homepage
- Projects: A lot! See www.winterwolves.com
- Tumblr: winterwolvesgames
-
Contact:
#1
Post
by jack_norton » Wed Oct 08, 2014 3:50 am
In the past I used:
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):

-
PyTom
- Ren'Py Creator
- Posts: 15893
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
-
Contact:
#2
Post
by PyTom » Wed Oct 08, 2014 12:39 pm
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.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama •
https://www.patreon.com/renpytom
-
jack_norton
- Lemma-Class Veteran
- Posts: 4067
- Joined: Mon Jul 21, 2008 5:41 pm
- Completed: Too many! See my homepage
- Projects: A lot! See www.winterwolves.com
- Tumblr: winterwolvesgames
-
Contact:
#3
Post
by jack_norton » Wed Oct 08, 2014 12:54 pm
Ah OK

will use the other method then, thanks!
-
PyTom
- Ren'Py Creator
- Posts: 15893
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
-
Contact:
#4
Post
by PyTom » Wed Oct 08, 2014 8:47 pm
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.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama •
https://www.patreon.com/renpytom
-
jack_norton
- Lemma-Class Veteran
- Posts: 4067
- Joined: Mon Jul 21, 2008 5:41 pm
- Completed: Too many! See my homepage
- Projects: A lot! See www.winterwolves.com
- Tumblr: winterwolvesgames
-
Contact:
#5
Post
by jack_norton » Thu Oct 09, 2014 2:10 am
If you still have the SOTW sources I sent you, I can send you a save that will trigger it

Users browsing this forum: No registered users