Merge branch 'no-post-race-ringshooter' into 'master'

Don't try bot ringshooter postrace (resolves #562)

Closes #562

See merge request KartKrew/Kart!1275
This commit is contained in:
Sal 2023-06-14 00:08:05 +00:00
commit 36aae98918

View file

@ -994,6 +994,12 @@ static boolean K_TryRingShooter(player_t *player)
return false;
}
if (player->exiting)
{
// Where are you trying to go?
return false;
}
if ((gametyperules & GTR_CIRCUIT) == 0 || (leveltime <= starttime))
{
// Only do this during a Race that has started.