mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-18 07:22:03 +00:00
If multiple players are just joining, don't count them in the player count
Prevents awkward situations where only the last player of your node gets added immediately and not the others. Shouldn't affect anything otherwise?
This commit is contained in:
parent
f5eee19d9b
commit
66c1b9d598
1 changed files with 2 additions and 0 deletions
|
@ -10091,6 +10091,8 @@ void P_SpawnPlayer(INT32 playernum)
|
|||
continue;
|
||||
if (!playeringame[i] || players[i].spectator)
|
||||
continue;
|
||||
if (players[i].jointime <= 1) // Prevent splitscreen hosters/joiners from only adding 1 player at a time in empty servers
|
||||
continue;
|
||||
pcount++;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue