mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-27 13:31:43 +00:00
Fix bots' realtime not ticking upwards when all human players have exited
This corrects the issue where bots have the same time on exit as the last human player, and therefore tie with them, with disastrous consequences for GP.
This commit is contained in:
parent
cf609113f3
commit
9980631e2f
1 changed files with 2 additions and 2 deletions
|
|
@ -2664,7 +2664,7 @@ static void P_DeathThink(player_t *player)
|
|||
}
|
||||
|
||||
// Keep time rolling
|
||||
if (!(exitcountdown && !racecountdown) && !(player->exiting || mapreset) && !(player->pflags & PF_NOCONTEST) && !stoppedclock)
|
||||
if (!(player->exiting || mapreset) && !(player->pflags & PF_NOCONTEST) && !stoppedclock)
|
||||
{
|
||||
if (leveltime >= starttime)
|
||||
{
|
||||
|
|
@ -4023,7 +4023,7 @@ void P_PlayerThink(player_t *player)
|
|||
}
|
||||
|
||||
// Synchronizes the "real" amount of time spent in the level.
|
||||
if (!(exitcountdown && !racecountdown) && !(player->exiting || mapreset) && !(player->pflags & PF_NOCONTEST) && !stoppedclock)
|
||||
if (!(player->exiting || mapreset) && !(player->pflags & PF_NOCONTEST) && !stoppedclock)
|
||||
{
|
||||
if (leveltime >= starttime)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue