joshjaysalazar / iRacingSafetyCarGenerator

Software to generate custom safety cars during an iRacing race
GNU General Public License v3.0
1 stars 1 forks source link

Wave arounds sent to ineligible cars #16

Open joshjaysalazar opened 2 months ago

joshjaysalazar commented 2 months ago

Describe the bug When sending wave arounds, cars which are ineligible (i.e. in the pits, disconnected) are still sent wave arounds. iRacing rejects the commands, which ultimately means it's a harmless bug, but it is confusing for the user.

To Reproduce Steps to reproduce the behavior:

  1. Start a race and get one car a lap down
  2. Have that car sit in pits or disconnect
  3. Cause a safety car

Expected behavior Any car which cannot be waved around should be skipped in the logic.

Screenshots N/A

Additional context N/A