From b30dd43ec69085244cbb0b706937c9da6ff10395 Mon Sep 17 00:00:00 2001 From: toaster Date: Mon, 17 Apr 2023 20:16:30 +0100 Subject: [PATCH] Got_MapQueuecmd: Add a success message for adding a map to the round queue (visible only to admins) --- src/d_netcmd.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/d_netcmd.c b/src/d_netcmd.c index a13be5016..06ba2869f 100644 --- a/src/d_netcmd.c +++ b/src/d_netcmd.c @@ -4369,6 +4369,11 @@ static void Got_MapQueuecmd(UINT8 **cp, INT32 playernum) } G_MapSlipIntoRoundQueue(queueposition, 0, setgametype, setencore, false); + + if (!IsPlayerAdmin(playernum)) + return; + + CONS_Printf("queuemap: A map was successfully added to the round queue (position %u)\n", queueposition); } static void Command_Pause(void)