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

Update belt connection delays if belt prototype speeds change. #34

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

Conversation

Zanthra
Copy link

@Zanthra Zanthra commented Feb 27, 2018

This change makes the mod recheck all factory connections if the configuration has changed, and adds a check to belt connections to make sure the delays are accurate. This allows the delays to be automatically shortened if another mod increases the belt speeds which would otherwise result in reduced throughput on the connections.

I believe that the recheck_factory function is safe and reasonable to run once if the game is loaded after mod configurations change, and that it is reasonable for the belt connection recheck function to verify that the stored delays are still valid.

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