mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-28 21:31:04 +00:00
Fix spectators spawning as players in netreplays
This commit is contained in:
parent
cf6e3a45d7
commit
3a467889ae
2 changed files with 3 additions and 2 deletions
|
@ -10889,7 +10889,8 @@ void P_SpawnPlayer(INT32 playernum)
|
||||||
}
|
}
|
||||||
|
|
||||||
// spawn as spectator determination
|
// spawn as spectator determination
|
||||||
if (!G_GametypeHasSpectators())
|
if (multiplayer && demoplayback); // Don't mess with spectator values since the demo setup handles them already.
|
||||||
|
else if (!G_GametypeHasSpectators())
|
||||||
p->spectator = false;
|
p->spectator = false;
|
||||||
else if (netgame && p->jointime <= 1 && pcount)
|
else if (netgame && p->jointime <= 1 && pcount)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue