From 1373eefc701f2837450e0eda16767f9665ebe99b Mon Sep 17 00:00:00 2001 From: Braedon Date: Sun, 30 Jan 2022 21:49:49 -0500 Subject: [PATCH] Build crashed if discord wasn't open --- Assets/Scripts/DiscordController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Scripts/DiscordController.cs b/Assets/Scripts/DiscordController.cs index 79b841b0..7bc95aa6 100644 --- a/Assets/Scripts/DiscordController.cs +++ b/Assets/Scripts/DiscordController.cs @@ -33,7 +33,7 @@ namespace RhythmHeavenMania.DiscordRPC public void Connect() { - discord = new Discord.Discord(DiscordRPC.clientID, (System.UInt64)Discord.CreateFlags.Default); + discord = new Discord.Discord(DiscordRPC.clientID, (System.UInt64)Discord.CreateFlags.NoRequireDiscord); } public void Disconnect()