qbcore-framework/qb-lapraces

Laptime record won't count if on the last lap

Aveeux opened this issue · 0 comments

How to replicate:

  1. Create a small/short circuit
  2. Start a 3 lap race with that circuit
  3. For laps 1 and 2, drive your car slowly
  4. For lap 3, drive faster than you did in 1 and 2 to ensure you're getting the fastest lap time of the race session
  5. Cross the finish line on your 3rd and final lap with the fastest time
  6. Check the timing HUD and see that the lap time on your 3rd lap was not counted as the fastest one (it counts the previous fastest)
  7. Same as #6, opening the racing app shows the slower lap time as the lap time record