Merge branch 'no-midrace-join' into 'master'

Remove late join

Closes #1528

See merge request kart-krew-dev/ring-racers-internal!2693
This commit is contained in:
Oni VelocitOni 2025-07-22 00:23:23 +00:00
commit 82c70ed612

View file

@ -15755,6 +15755,15 @@ void K_CheckSpectateStatus(boolean considermapreset)
if (players[i].exiting)
return;
// Mid-race joins cause all kind of jank, including replay issues
// that literally none of us can figure out. Whoops.
if (numingame < 2 || leveltime == 0)
continue;
return;
// Unseal when someone feels like debugging.
#if 0
// Allow if the match hasn't started yet
if (numingame < 2 || leveltime < starttime || mapreset)
continue;
@ -15768,6 +15777,7 @@ void K_CheckSpectateStatus(boolean considermapreset)
return;
continue;
#endif
}
if (players[i].bot)