mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Remove late join
This commit is contained in:
parent
f8c5764276
commit
e0086b6dad
1 changed files with 10 additions and 0 deletions
10
src/k_kart.c
10
src/k_kart.c
|
|
@ -15740,6 +15740,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;
|
||||
|
|
@ -15753,6 +15762,7 @@ void K_CheckSpectateStatus(boolean considermapreset)
|
|||
return;
|
||||
|
||||
continue;
|
||||
#endif
|
||||
}
|
||||
|
||||
if (players[i].bot)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue