If a player uses a portal near the last checkpoint (the checkpoint that counts the lap) sometimes it can skip it entirely, making the player not count lap.
The only idea that I have to avoid this issue is a check is if the user is one checkpoint away from the lap, not let him use the portal and if the player grabs a power, 0% chance to get a portal (Or keep the chances the same, just give him a default/random power).
If a player uses a portal near the last checkpoint (the checkpoint that counts the lap) sometimes it can skip it entirely, making the player not count lap.
The only idea that I have to avoid this issue is a check is if the user is one checkpoint away from the lap, not let him use the portal and if the player grabs a power, 0% chance to get a portal (Or keep the chances the same, just give him a default/random power).