Describe the bug
If the leader is in the pits as they cross the line, there's a chance that they've beaten the safety car to the line and the !pacelaps command will fail. This also means the leader probably has a penalty, but the point is it breaks the program.
To Reproduce
Steps to reproduce the behavior:
Race around Silverstone, as that's a track that it's easy to accidentally beat the pace car to the line in the pits
Have the leader pit under yellow
Watch the command fail if the leader crosses the line before the pace car.
Expected behavior
The command should be sent as soon as the first on track car crosses the line.
Describe the bug If the leader is in the pits as they cross the line, there's a chance that they've beaten the safety car to the line and the
!pacelaps
command will fail. This also means the leader probably has a penalty, but the point is it breaks the program.To Reproduce Steps to reproduce the behavior:
Expected behavior The command should be sent as soon as the first on track car crosses the line.
Screenshots N/A
Additional context N/A