From a291f8d9b4e45938890ac6c80b88d7cfaa4cc551 Mon Sep 17 00:00:00 2001 From: NepDisk Date: Mon, 30 Mar 2026 13:56:21 -0400 Subject: [PATCH] Show connection notices in console as well --- src/d_clisrv.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/d_clisrv.c b/src/d_clisrv.c index 544fd9e7f..d63e1a976 100644 --- a/src/d_clisrv.c +++ b/src/d_clisrv.c @@ -11,6 +11,7 @@ /// \brief SRB2 Network game communication and protocol, all OS independent parts. #include "d_clisrv.h" +#include "doomdef.h" #include #ifdef __GNUC__ #include //for unlink @@ -5005,11 +5006,16 @@ static void PT_ServerRefuse(SINT8 node) M_StartMessage(va("You have been %sfrom the server\n\nReason:\n%s", (reason[0] == 'B') ? "banned\n" : "temporarily\nkicked ", reason+2), NULL, MM_NOTHING); + CONS_Alert(CONS_NOTICE, "You have been %sfrom the server\n\nReason:\n%s", + (reason[0] == 'B') ? "banned\n" : "temporarily\nkicked ", + reason+2); } else { M_StartMessage(va(M_GetText("Server refuses connection\n\nReason:\n%s"), reason), NULL, MM_NOTHING); + CONS_Alert(CONS_NOTICE, "Server refuses connection\n\nReason:\n%s", + reason); } free(reason);