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

Fix WarpToFundTarget with high incomes #2064

Merged
merged 1 commit into from
Jun 26, 2023

Conversation

FioraAeterna
Copy link
Contributor

The algorithm used to detect a fund target failed when daily income became relatively large, which caused it to error out towards the mid to late game.

With the new algorithm, it will warp to the soonest time that it determines the listed amount of money will be available, even if it's very slightly above the desired fund target.

The algorithm used to detect a fund target failed when daily income
became relatively large, which caused it to error out towards the
mid to late game.

With the new algorithm, it will warp to the soonest time that it
determines the listed amount of money will be available, even if it's
very slightly above the desired fund target.
@NathanKell NathanKell merged commit 4a374e4 into KSP-RO:master Jun 26, 2023
3 checks passed
@NathanKell
Copy link
Member

Thanks!! :)

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.

2 participants