diff options
-rw-r--r-- | game/discord.rpy | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/game/discord.rpy b/game/discord.rpy index 9d6148e..fda547a 100644 --- a/game/discord.rpy +++ b/game/discord.rpy @@ -69,7 +69,8 @@ label quit: python: try: stdout("Shutdown requested, cleaning up...") - discord_rpc.shutdown() + if persistent.discord: + discord_rpc.shutdown() stdout("Thanks for playing the Mana Launcher.") except: pass |