From c5d7fc4a363c4568c10923218da165fd29eaebd3 Mon Sep 17 00:00:00 2001 From: NepDisk Date: Tue, 29 Apr 2025 19:36:00 -0400 Subject: [PATCH] Fix off by one in discord rpc --- src/discord.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/discord.c b/src/discord.c index 1ec2fedad..c52a8ba54 100644 --- a/src/discord.c +++ b/src/discord.c @@ -556,7 +556,7 @@ void DRPC_UpdatePresence(void) { snprintf(detailstr, 48, "%s%s%s", gametype_cons_t[gametype].strvalue, - va(" | %s", kartspeed_cons_t[gamespeed].strvalue), + va(" | %s", kartspeed_cons_t[gamespeed+1].strvalue), (encoremode == true) ? " | Encore" : "" ); discordPresence.details = detailstr;