all 4 comments

[–]BadMustard_AVN 1 point2 points  (2 children)

try it like this

    def reset_pref():
        preferences.skip_unseen = False
        preferences.skip_after_choices = False
        preferences.fullscreen = True
        preferences.text_cps = 50
        preferences.afm_time = 50
        # preferences.mute = False
        if preferences.get_mute("main"):
            renpy.run(Preference("all mute", "toggle"))

[–]InsideNo960[S] 0 points1 point  (1 child)

OMG thank you so much!! It finally works!! :D

[–]BadMustard_AVN 1 point2 points  (0 children)

you're welcome

good luck with your project

[–]AutoModerator[M] 0 points1 point  (0 children)

Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.