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: Infrastructure total update when removing tram road stop #7856

Merged

Conversation

JGRennison
Copy link
Contributor

The wrong road owner was used when updating the tram infrastructure total.
This could result in desyncs, negative infrastructure totals, etc.

Reproduction steps:

  1. Build a tram stop
  2. Remove the tram stop
  3. Demolish the tram tracks
    You now have -2 tram tracks

The wrong road owner was used when updating the tram infrastructure total.
This could result in desyncs, negative infrastructure totals, etc.
Copy link
Member

@LordAro LordAro left a comment

Choose a reason for hiding this comment

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

Good ol' copy & paste error

@michicc michicc merged commit 35dc377 into OpenTTD:master Dec 8, 2019
@JGRennison JGRennison deleted the fix-tram-road-stop-remove-infra-totals branch December 8, 2019 14:46
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.

None yet

3 participants