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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

l29ah
Copy link
Contributor

@l29ah l29ah commented Oct 6, 2018

fixes #45

@Legendsmith
Copy link

Legendsmith commented Aug 10, 2020

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

Copy link
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