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 Randomizer_Item_Give corrupting inventory slots for MOD_RANDOMIZER items #2626

Merged
merged 3 commits into from
Mar 14, 2023

Conversation

Malkierian
Copy link
Contributor

@Malkierian Malkierian commented Mar 13, 2023

When adding Randomizer_Item_Give to OnItemReceive, I switched return statements to Return_Item_Entry calls, and thus even when Return_Item_Entry was called, codeflow would still get to the end where it was trying to update inventory slots. This adds returns back to those calls to Return_Item_Entry to end item processing at those points.

Build Artifacts

Copy link
Contributor

@dcvz dcvz left a comment

Choose a reason for hiding this comment

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

LGTM! Welcome to the team! :D

@dcvz dcvz merged commit 1b15801 into HarbourMasters:develop Mar 14, 2023
@Malkierian Malkierian deleted the fix-randomizer-item-give branch March 14, 2023 16:15
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