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

Change functionality of cancel route to reduce route #1568

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mhoram-kerbin
Copy link
Contributor

Previously the canceling of a route was only possible when all resources at the destination were unused.
This patch changes this behavior, so that the cancel route button now reduces the route as much as possible.
This QoL change helps with managing complicated route-setups where resources are partially used by Hoppers somewhere in a sequential transfer route.

This is done by calculating the maximal reducible amount of resources and using this number for the cancellation.

Previously the canceling of a route was only possible when all resources at the destination were unused.
This patch changes this behavior, so that the cancel route button now reduces the route as much as possible.
This QoL change helps with managing complicated route-setups where resources are partially used by Hoppers somewhere in a sequential transfer route.

This is done by calculating the maximal reducible amount of resources and using this number for the cancellation.
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.

1 participant