Skip to content

Fix Randomizer_Item_Give corrupting inventory slots for MOD_RANDOMIZER items#2626

Merged
dcvz merged 3 commits intoHarbourMasters:developfrom
Malkierian:fix-randomizer-item-give
Mar 14, 2023
Merged

Fix Randomizer_Item_Give corrupting inventory slots for MOD_RANDOMIZER items#2626
dcvz merged 3 commits intoHarbourMasters:developfrom
Malkierian:fix-randomizer-item-give

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.

2 participants