From 7b1e14d017d8cab16ddd2498d5038002173b2e03 Mon Sep 17 00:00:00 2001 From: Sally Coolatta Date: Fri, 21 Aug 2020 01:18:40 -0400 Subject: [PATCH] Don't show map image for title screen demos --- src/discord.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/discord.c b/src/discord.c index 3e8da50c..c208ad6c 100644 --- a/src/discord.c +++ b/src/discord.c @@ -363,7 +363,8 @@ void DRPC_UpdatePresence(void) } } - if (gamestate == GS_LEVEL || gamestate == GS_INTERMISSION) // Map info + if ((gamestate == GS_LEVEL || gamestate == GS_INTERMISSION) // Map info + && !(demo.playback && demo.title)) { if ((gamemap >= 1 && gamemap <= 60) // supported race maps || (gamemap >= 136 && gamemap <= 164)) // supported battle maps