1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2025-01-03 15:39:46 +01:00

Fix bad implementation of inversion of discordDetected

This commit is contained in:
Buggem's Fedora PC 2024-12-15 19:45:23 +11:00
parent 7fcba8510e
commit 5cbf03d71b

View file

@ -96,6 +96,7 @@ int32_t DISCORD_init(void)
if(DiscordCreate(DISCORD_VERSION, &params, &app.core) != DiscordResult_Ok) if(DiscordCreate(DISCORD_VERSION, &params, &app.core) != DiscordResult_Ok)
{ {
discordDetected = false;
return 0; return 0;
} }
@ -113,7 +114,7 @@ int32_t DISCORD_init(void)
app.activityMan->update_activity(app.activityMan, &activity, NULL, NULL); app.activityMan->update_activity(app.activityMan, &activity, NULL, NULL);
discordDetected = true;
return 1; return 1;
} }