From c65a2e31770b105761283c93fbb52c0522c824cf Mon Sep 17 00:00:00 2001 From: toaster Date: Tue, 10 Jul 2018 19:39:11 +0100 Subject: [PATCH] Fix unpausing when you're a waitingplayers admin. --- src/d_netcmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d_netcmd.c b/src/d_netcmd.c index f3aa3d8a..81fd0da9 100644 --- a/src/d_netcmd.c +++ b/src/d_netcmd.c @@ -2269,7 +2269,7 @@ static void Command_Pause(void) if (cv_pause.value || server || (IsPlayerAdmin(consoleplayer))) { - if (modeattacking || !(gamestate == GS_LEVEL || gamestate == GS_INTERMISSION || gamestate == GS_VOTING)) + if (!paused && (modeattacking || !(gamestate == GS_LEVEL || gamestate == GS_INTERMISSION || gamestate == GS_VOTING || gamestate == GS_WAITINGPLAYERS))) { CONS_Printf(M_GetText("You can't pause here.\n")); return;