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

craft: fix crash in case recipe uses 3 ingredients #658

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

bkoropoff
Copy link
Contributor

My previous PR didn't quite fix the abort, since some recipes (e.g. whips) use a main, secondary, and sewing thread ingredient. Just use an array with well-defined indices to allow for future expansion.

Main/Source/cmdcraft.cpp Show resolved Hide resolved
@bkoropoff
Copy link
Contributor Author

cc @ryfactor

@ryfactor ryfactor merged commit eeb510e into Attnam:master Dec 18, 2024
5 checks passed
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