Disabling the confirm exit menu

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
Desu_Cake
Veteran
Posts: 300
Joined: Mon Aug 15, 2011 2:03 pm
Projects: Secret, Secret and Secret
Location: Ireland
Contact:

Disabling the confirm exit menu

#1 Post by Desu_Cake » Mon Aug 22, 2011 6:35 pm

Yeah... Not sure what it's really called, but the menu that appears when you attempt to close via the standard x really bugs me. How do you set it so that it doesn't appear?

User avatar
Blue Lemma
Forum Founder
Posts: 2005
Joined: Sat Jan 25, 2003 2:32 pm
Completed: ToL, Shoujo Attack!, Lemma Ten
Projects: [RETIRED FROM FORUM ADMINISTRATION - CONTACT PYTOM WITH ISSUES]
Contact:

Re: Disabling the confirm exit menu

#2 Post by Blue Lemma » Wed Aug 24, 2011 2:07 am

Try putting this line in your options.rpy:

config.quit_action = None
“Among those who dislike oppression are many who like to oppress.”
- Napoleon Bonaparte


I've retired from forum administration. I do not add people to the "adult" group, deactivate accounts, nor any other administrative task. Please direct admin/mod issues to PyTom or the other mods : )

User avatar
Desu_Cake
Veteran
Posts: 300
Joined: Mon Aug 15, 2011 2:03 pm
Projects: Secret, Secret and Secret
Location: Ireland
Contact:

Re: Disabling the confirm exit menu

#3 Post by Desu_Cake » Wed Aug 24, 2011 7:42 am

That worked. Thanks!

Post Reply

Who is online

Users browsing this forum: enaielei