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: Remove deprecated invert-sign setting. #239

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

Conversation

wcjohnson
Copy link
Collaborator

This setting has been explicitly marked as deprecated for many versions; it's time to remove it.

This setting has been explicitly marked deprecated for many versions; it's time to remove it.
@@ -229,7 +228,7 @@ function set_p_wagon_combs(map_data, station, train)

signals[i] = {
value = { type = item.type, name = item.name, quality = item_qual, comparator = "=" },
min = sign * count_to_fill,
min = -1 * count_to_fill,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-count_to_fill would avoid the multiplication

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