mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'checkpoint-lap-0' into 'master'
Can't interact with checkpoints during lap 0 See merge request kart-krew-dev/ring-racers-internal!2759
This commit is contained in:
commit
79c76c9639
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)
|
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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue