Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fuel info now is shown when ai driver is stopped because of low fuel #2843

Merged
merged 1 commit into from
Oct 10, 2023

Conversation

tn4799
Copy link
Contributor

@tn4799 tn4799 commented Oct 10, 2023

If the setting of the low fuel value was increased above 10%, the driver would be stopped and needed to be refueled, but in the info display of courseplay, there was no information about that for the player because of a hard coded value when the info message would occur.

With this fix both events are now happening at the same time. This also leat to some deletion of duplicated code.

@Tensuko Tensuko requested a review from schwiti6190 October 10, 2023 15:06
@Tensuko Tensuko merged commit c14997d into Courseplay:main Oct 10, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants