mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +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.
|
// To attempt to discourage rage-spectators, we delay any rejoining.
|
||||||
// If you're engaging in a DUEL and quit early, in addition to the
|
// 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.
|
// 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;
|
UINT8 pcount = 0;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue