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: Include information about relevant block in ScriptError message #321

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

Pixel-Tony
Copy link
Contributor

Fixes #238, which refers to the error message in Action2 parser not containing produce-block as a relevant block.

This is my first commit to this repository, I hope someone will guide me in case anything is not correctly presented.

@Pixel-Tony
Copy link
Contributor Author

After already submitting this PR I noticed that mentioned error text is also present in some other Action2-related code. Since produce-block is based on this action, would it make sense to supplement those cases with mention of this block too?

@glx22 glx22 force-pushed the fix-produce-block-error branch from edf807e to 3f5c3ce Compare January 6, 2025 23:06
@glx22 glx22 merged commit 447cc20 into OpenTTD:master Jan 6, 2025
21 checks passed
@Pixel-Tony Pixel-Tony deleted the fix-produce-block-error branch January 7, 2025 14:03
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.

NMLC error from Produce block incorrectly refers to switch-block
2 participants