Reset DUEL mode before POSITION ends

This commit is contained in:
James R 2023-03-08 21:18:30 -08:00
parent d83f91d169
commit ef664c5124

View file

@ -11445,7 +11445,7 @@ void K_CheckSpectateStatus(void)
// Reset the match when 2P joins 1P, DUEL mode
// Reset the match when 3P joins 1P and 2P, DUEL mode must be disabled
if (!mapreset && gamestate == GS_LEVEL && leveltime >= starttime && (numingame < 3 && numingame+i >= 2)) // use previous i value
if (!mapreset && gamestate == GS_LEVEL && (numingame < 3 && numingame+i >= 2)) // use previous i value
{
S_ChangeMusicInternal("chalng", false); // COME ON
mapreset = 3*TICRATE; // Even though only the server uses this for game logic, set for everyone for HUD