FinalisePlaystateChange: Don't reset spectatorReentry timer if it's already nonzero

This commit is contained in:
toaster 2023-07-22 14:33:32 +01:00
parent e0b47b16e7
commit 39d9dc99aa

View file

@ -1617,7 +1617,11 @@ static void FinalisePlaystateChange(INT32 playernum)
// To attempt to discourage rage-spectators, we delay any rejoining.
// If you're engaging in a DUEL and quit early, in addition to the
// indignity of losing your PWR, you get a special extra-long delay.
if (netgame && players[playernum].jointime > 1)
if (
netgame
&& players[playernum].jointime > 1
&& players[playernum].spectatorReentry == 0
)
{
UINT8 pcount = 0;