Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Currently all full calculations use your own laps remaining for fuel needed to finish. If you're laps down, and you don't think you will make them up, then if you're racing for position with others on your same lap, then fuel a quicker stop could get that position for you. Road courses in iRacing do not typically have full course cautions, so it is very difficult to make up your laps.
Therefore, need a way for the user in mid race to ask the fuel calculations to use the race laps remaining, which is based on the leader.
Suggested by Bryce Whitson.