diff --git a/desktop_version/src/DiscordNetwork.c b/desktop_version/src/DiscordNetwork.c index 2ca16ba9..12ed9d51 100644 --- a/desktop_version/src/DiscordNetwork.c +++ b/desktop_version/src/DiscordNetwork.c @@ -96,6 +96,7 @@ int32_t DISCORD_init(void) if(DiscordCreate(DISCORD_VERSION, ¶ms, &app.core) != DiscordResult_Ok) { + discordDetected = false; return 0; } @@ -113,7 +114,7 @@ int32_t DISCORD_init(void) app.activityMan->update_activity(app.activityMan, &activity, NULL, NULL); - + discordDetected = true; return 1; }