mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
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:
commit
82c70ed612
1 changed files with 10 additions and 0 deletions
10
src/k_kart.c
10
src/k_kart.c
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue