mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-17 19:11:30 +00:00
HERE COMES A NEW CHALLENGER for 3P
Fixes DUEL mode still being active if a 3rd player enters before 20 seconds is up.
This commit is contained in:
parent
23b04832ad
commit
ba994c261a
1 changed files with 3 additions and 2 deletions
|
|
@ -11443,8 +11443,9 @@ void K_CheckSpectateStatus(void)
|
|||
P_SpectatorJoinGame(&players[respawnlist[i]]);
|
||||
}
|
||||
|
||||
// Reset the match if you're in an empty server
|
||||
if (!mapreset && gamestate == GS_LEVEL && leveltime >= starttime && (numingame < 2 && numingame+i >= 2)) // use previous i value
|
||||
// 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
|
||||
{
|
||||
S_ChangeMusicInternal("chalng", false); // COME ON
|
||||
mapreset = 3*TICRATE; // Even though only the server uses this for game logic, set for everyone for HUD
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue