mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-20 15:02:37 +00:00
Can't interact with checkpoints during lap 0
This commit is contained in:
parent
6e8fdf7f59
commit
d11d9ca797
1 changed files with 1 additions and 1 deletions
|
|
@ -584,7 +584,7 @@ void Obj_CheckpointThink(mobj_t* end)
|
|||
|
||||
void Obj_CrossCheckpoints(player_t* player, fixed_t old_x, fixed_t old_y)
|
||||
{
|
||||
if (player->exiting) // can't cross checkpoints when exiting
|
||||
if (player->exiting || player->laps == 0) // can't cross checkpoints when exiting, or before the first lap starts
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue