mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Don't FAULT outside of Race modes
This commit is contained in:
parent
c041ff834c
commit
d90351d660
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ void K_DoIngameRespawn(player_t *player)
|
||||||
}
|
}
|
||||||
|
|
||||||
// FAULT
|
// FAULT
|
||||||
if (leveltime < starttime)
|
if ((gametyperules & GTR_CIRCUIT) && leveltime < starttime)
|
||||||
{
|
{
|
||||||
if (!(mapheaderinfo[gamemap-1]->levelflags & LF_SECTIONRACE))
|
if (!(mapheaderinfo[gamemap-1]->levelflags & LF_SECTIONRACE))
|
||||||
player->respawn.wp = K_GetFinishLineWaypoint()->prevwaypoints[0];
|
player->respawn.wp = K_GetFinishLineWaypoint()->prevwaypoints[0];
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue