mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-11 03:12:09 +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)
|
if (players[i].exiting)
|
||||||
return;
|
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
|
// Allow if the match hasn't started yet
|
||||||
if (numingame < 2 || leveltime < starttime || mapreset)
|
if (numingame < 2 || leveltime < starttime || mapreset)
|
||||||
continue;
|
continue;
|
||||||
|
|
@ -15753,6 +15762,7 @@ void K_CheckSpectateStatus(boolean considermapreset)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
continue;
|
continue;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
if (players[i].bot)
|
if (players[i].bot)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue