Got_MapQueuecmd: Add a success message for adding a map to the round queue (visible only to admins)

This commit is contained in:
toaster 2023-04-17 20:16:30 +01:00
parent 2d46112c58
commit 9b0c82d5dc

View file

@ -3474,6 +3474,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)