mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-02 05:02:55 +00:00
FinalisePlaystateChange: Don't reset spectatorReentry timer if it's already nonzero
This commit is contained in:
parent
e0b47b16e7
commit
39d9dc99aa
1 changed files with 5 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue