Skip to content

scripts/definitions/pickups.as: check if a pickup was picked before#57

Open
l29ah wants to merge 1 commit intoBlindMindStudios:masterfrom
l29ah:fix-pickups
Open

scripts/definitions/pickups.as: check if a pickup was picked before#57
l29ah wants to merge 1 commit intoBlindMindStudios:masterfrom
l29ah:fix-pickups

Conversation

@l29ah
Copy link
Copy Markdown
Contributor

@l29ah l29ah commented Oct 6, 2018

fixes #45

@Legendsmith
Copy link
Copy Markdown

Legendsmith commented Aug 10, 2020

Hey! I reported this bug in 2017, Thanks for fixing it.

Copy link
Copy Markdown
Contributor

@DaloLorn DaloLorn left a comment

Choose a reason for hiding this comment

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

I only just realized how horribly wrong this is... good thing I was rewriting it anyway. 😟

Your solution means that each pickup type can be collected once. The correct solution is to make each pickup object track whether it's been collected yet.

DaloLorn added a commit to OpenSRProject/OpenStarRuler-Modpack that referenced this pull request Aug 31, 2020
DaloLorn added a commit to OpenSRProject/OpenStarRuler-Modpack that referenced this pull request Aug 31, 2020
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.

Unlimited remnant pickups exploit

3 participants