From c657a47d568119341640a8b4b6ff6c4d907c9791 Mon Sep 17 00:00:00 2001 From: toaster <rollerorbital@gmail.com> Date: Thu, 11 Aug 2022 22:45:32 +0100 Subject: [PATCH] Don't force a NEW CHALLENGER!! map reset if spectators enter during the introtime. Doesn't affect the conditions that allow entry -- just avoids pointlessly resetting the map if it occurs during the period where literally nothing can happen. --- src/k_kart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/k_kart.c b/src/k_kart.c index 9e10f297f..0a0b0ea44 100644 --- a/src/k_kart.c +++ b/src/k_kart.c @@ -6405,7 +6405,7 @@ void K_CheckSpectateStatus(void) } // Reset the match if you're in an empty server - if (!mapreset && gamestate == GS_LEVEL && (previngame < 2 && numingame >= 2)) + if (!mapreset && gamestate == GS_LEVEL && (leveltime > introtime) && (previngame < 2 && numingame >= 2)) { S_ChangeMusicInternal("chalng", false); // COME ON mapreset = 3*TICRATE; // Even though only the server uses this for game logic, set for everyone for HUD -- GitLab