diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-05-08 00:43:07 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-05-08 00:43:07 -0300 |
commit | cbe3b1e1d15feb72d3df62f5cc2629c6da201651 (patch) | |
tree | 9313e90b5cb03f0eaf69fe6885ead742bd41e004 | |
parent | e4b51480fb027de9b78495cc2d5504a62cc736a2 (diff) | |
download | renpy-cbe3b1e1d15feb72d3df62f5cc2629c6da201651.tar.gz renpy-cbe3b1e1d15feb72d3df62f5cc2629c6da201651.tar.bz2 renpy-cbe3b1e1d15feb72d3df62f5cc2629c6da201651.tar.xz renpy-cbe3b1e1d15feb72d3df62f5cc2629c6da201651.zip |
Just some minor polishing, now we have full support to Discord Rich Presence :3
-rw-r--r-- | game/core.rpy | 1 | ||||
-rw-r--r-- | game/discord.rpy | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/game/core.rpy b/game/core.rpy index 45b1ae9..3aa51bc 100644 --- a/game/core.rpy +++ b/game/core.rpy @@ -107,6 +107,7 @@ label splashscreen: show TMW2 at truecenter with fade pause 2.5 hide TMW2 with Dissolve(1.5) + call before_main_menu return label die: diff --git a/game/discord.rpy b/game/discord.rpy index c249a3b..5e914f3 100644 --- a/game/discord.rpy +++ b/game/discord.rpy @@ -55,6 +55,11 @@ label before_main_menu: ) discord_rpc.update_connection() discord_rpc.run_callbacks() + return +label quit: + $ stdout("Shutdown requested, cleaning up...") + $ discord_rpc.shutdown() + $ stdout("Thanks for playing the Mana Launcher.") return |