From 1289c84af6b7e879ca32d9c4a4c6bd649f9457ae Mon Sep 17 00:00:00 2001 From: TehRealSalt Date: Tue, 2 Oct 2018 01:25:10 -0400 Subject: [PATCH] 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? --- src/p_mobj.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/p_mobj.c b/src/p_mobj.c index 5c3417372..9b449d365 100644 --- a/src/p_mobj.c +++ b/src/p_mobj.c @@ -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++; }