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 #7197: Invalidate depot buttons when necessary. #7212

Merged
merged 1 commit into from Feb 10, 2019

Conversation

PeterN
Copy link
Member

@PeterN PeterN commented Feb 10, 2019

Invalidate depot buttons when necessary rather than during OnGameTick(). The later is not called since the window tick refactor, causing newly built vehicles to show incorrect buttons when built in pause mode.

Fixes #7197.

Copy link
Contributor

@andythenorth andythenorth left a comment

Choose a reason for hiding this comment

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

Tested, resolves the issue.

@PeterN PeterN merged commit d242875 into OpenTTD:master Feb 10, 2019
@PeterN PeterN deleted the fix-7197 branch February 10, 2019 08:44
nielsmh pushed a commit to nielsmh/OpenTTD that referenced this pull request Mar 11, 2019
douiwby pushed a commit to douiwby/OpenTTD that referenced this pull request Apr 16, 2020
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

2 participants