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 crash when opening construction menu with no visible entries #73785

Merged
merged 1 commit into from
May 14, 2024

Conversation

Qrox
Copy link
Contributor

@Qrox Qrox commented May 14, 2024

Summary

None

Purpose of change

Fixes #73718.

Describe the solution

Fix the typo (&& instead of ||).

Describe alternatives you've considered

Testing

Opened construction menu, set a filter that matches no entries, and reopened the construction menu. Before this fix it crashed, and after this fix it did not crash.

Additional context

It does not crash until the construction menu is reopened, which is probably why I missed it in my original testing.

@github-actions github-actions bot added <Bugfix> This is a fix for a bug (or closes open issue) Crafting / Construction / Recipes Includes: Uncrafting / Disassembling [C++] Changes (can be) made in C++. Previously named `Code` astyled astyled PR, label is assigned by github actions json-styled JSON lint passed, label assigned by github actions labels May 14, 2024
@kevingranade kevingranade merged commit c7d88dc into CleverRaven:master May 14, 2024
22 of 27 checks passed
@kevingranade
Copy link
Member

Looks like this is NOT a candidate for backporting, the erroneous code does not exist on the 0.H branch.

@github-actions github-actions bot added the BasicBuildPassed This PR builds correctly, label assigned by github actions label May 14, 2024
@Qrox Qrox deleted the and branch May 18, 2024 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions <Bugfix> This is a fix for a bug (or closes open issue) [C++] Changes (can be) made in C++. Previously named `Code` Crafting / Construction / Recipes Includes: Uncrafting / Disassembling json-styled JSON lint passed, label assigned by github actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Immediate Segmentation Fault Crash when pressing construction button (consistently reoccurring)
2 participants