From 5cbf03d71b6a08c890d15f0480e8b973cd3739f0 Mon Sep 17 00:00:00 2001 From: Buggem's Fedora PC <66670928+Buggem@users.noreply.github.com> Date: Sun, 15 Dec 2024 19:45:23 +1100 Subject: [PATCH] Fix bad implementation of inversion of discordDetected --- desktop_version/src/DiscordNetwork.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; }