Fix specator -> spectator teamchanges blocking joins (closes #96)
No longer causes forfeits too!
This commit is contained in:
parent
9c9041484a
commit
313e291fb6
1 changed files with 1 additions and 1 deletions
|
|
@ -4206,7 +4206,7 @@ static void Got_Teamchange(UINT8 **cp, INT32 playernum)
|
|||
demo_extradata[playernum] |= DXD_PLAYSTATE;
|
||||
|
||||
// Clear player score and rings if a spectator.
|
||||
if (players[playernum].spectator)
|
||||
if (players[playernum].spectator && !wasspectator)
|
||||
{
|
||||
players[playernum].spectatorreentry = (cv_spectatorreentry.value * TICRATE);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue