From 50cc0dc32d408ef552daa1edfb84edfebf395fb3 Mon Sep 17 00:00:00 2001 From: terencehill Date: Wed, 8 Jul 2020 18:30:02 +0200 Subject: [PATCH] Don't restart the server with the restart command if all players are ready between rounds --- qcsrc/server/command/vote.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/command/vote.qc b/qcsrc/server/command/vote.qc index a34203ffd..2f5f41efd 100644 --- a/qcsrc/server/command/vote.qc +++ b/qcsrc/server/command/vote.qc @@ -476,7 +476,7 @@ void ReadyRestart_force() void ReadyRestart() { - if (MUTATOR_CALLHOOK(ReadyRestart_Deny) || game_stopped || race_completing) localcmd("restart\n"); + if (MUTATOR_CALLHOOK(ReadyRestart_Deny) || intermission_running || race_completing) localcmd("restart\n"); else localcmd("\nsv_hook_readyrestart\n"); // Reset ALL scores, but only do that at the beginning of the countdown if sv_ready_restart_after_countdown is off! -- 2.39.2