Skip to content

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

Open
Zanthra wants to merge 1 commit into
MagmaMcFry:masterfrom
Zanthra:master
Open

Update belt connection delays if belt prototype speeds change.#34
Zanthra wants to merge 1 commit into
MagmaMcFry:masterfrom
Zanthra:master

Conversation

@Zanthra
Copy link
Copy Markdown

@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