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 collectibles #10786

Merged
merged 1 commit into from
Nov 4, 2024
Merged

Fix collectibles #10786

merged 1 commit into from
Nov 4, 2024

Conversation

bhollis
Copy link
Contributor

@bhollis bhollis commented Nov 4, 2024

I misread what this was trying to do, and tbh I still don't really understand why it's a minBy, but putting it back seems to correct the collectibles pages.

Copy link
Contributor

@chainrez chainrez left a comment

Choose a reason for hiding this comment

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

originally:

  • gets state of this collectible for each char
  • discards undefineds
  • find the smallest (0 result = collected, 1 = not) bitwise state
  • returns it

post-lodash-PR:

  • .finds a collectible state set to not acquired
    (find booleanizes state & DestinyCollectibleState.NotAcquired)
  • returns that state

Not sure why this results in hiding entries, but whatever, this fixes.

@chainrez chainrez merged commit aca07d4 into master Nov 4, 2024
7 checks passed
@chainrez chainrez deleted the fix-collectibles branch November 4, 2024 22:48
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