Can't interact with checkpoints during lap 0

This commit is contained in:
Ashnal 2025-08-24 09:08:36 -04:00
parent 6e8fdf7f59
commit d11d9ca797

View file

@ -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;
}