Build crashed if discord wasn't open

This commit is contained in:
Braedon 2022-01-30 21:49:49 -05:00
parent dd9203cace
commit 1373eefc70

View file

@ -33,7 +33,7 @@ namespace RhythmHeavenMania.DiscordRPC
public void Connect() 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() public void Disconnect()