Skip to content

Fix currency duplication exploit#6

Open
maxijonson wants to merge 1 commit intoDevGonzi:masterfrom
maxijonson:bugfix/currency-exploit-with-item-reward
Open

Fix currency duplication exploit#6
maxijonson wants to merge 1 commit intoDevGonzi:masterfrom
maxijonson:bugfix/currency-exploit-with-item-reward

Conversation

@maxijonson
Copy link
Copy Markdown

@maxijonson maxijonson commented Dec 14, 2024

This fix checks if all item rewards will have a slot to go before looping over rewards. This prevents giving currency/item rewards and then aborting (return false) for a later reward.

Fixes #5

@maxijonson maxijonson changed the title (Fixes #5) Fix currency duplication exploit Fix currency duplication exploit Dec 14, 2024
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.

Exploit possible when rewards are both an item and currency

1 participant