From 5df44e4c700335cfb554c399b5a54c3553b20ce7 Mon Sep 17 00:00:00 2001 From: SteelT Date: Mon, 11 Dec 2023 20:58:51 -0500 Subject: [PATCH] Don't show gametype was changed message if the same gametype --- src/d_netcmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/d_netcmd.c b/src/d_netcmd.c index c2b7756a6..95f938e68 100644 --- a/src/d_netcmd.c +++ b/src/d_netcmd.c @@ -2721,7 +2721,7 @@ static void Got_Mapcmd(UINT8 **cp, INT32 playernum) SendKick(playernum, KICK_MSG_CON_FAIL); return; } - + roundqueue.position = position; if (size < roundqueue.size) { @@ -4997,7 +4997,7 @@ void D_GameTypeChanged(INT32 lastgametype) if (gametype >= 0 && gametype < numgametypes) newgt = gametypes[gametype]->name; - if (oldgt && newgt) + if (oldgt && newgt && (lastgametype != gametype)) CONS_Printf(M_GetText("Gametype was changed from %s to %s\n"), oldgt, newgt); }