Skip to content

Fix pack cards being wiped out when Spoilers toggle is enabled#13

Closed
OptimusPi wants to merge 0 commit into
miaklwalker:masterfrom
OptimusPi:master
Closed

Fix pack cards being wiped out when Spoilers toggle is enabled#13
OptimusPi wants to merge 0 commit into
miaklwalker:masterfrom
OptimusPi:master

Conversation

@OptimusPi
Copy link
Copy Markdown
Collaborator

@OptimusPi OptimusPi commented Jan 25, 2026

Fix pack cards being wiped out when Spoilers toggle is enabled

Added a safeguard in processPackCards to only attempt joker peeking if a valid spoiler source exists for the card. Previously, enabling spoilers caused all pack cards to be incorrectly processed and effectively wiped out.

Fixes #12

@OptimusPi
Copy link
Copy Markdown
Collaborator Author

image image

The spoilers seem to work better now without accidentally wiping out the cards in all the packs with the same cosmetic Card display item.

@miaklwalker
Copy link
Copy Markdown
Owner

Does this pass the accuracy tests ?

@miaklwalker miaklwalker self-requested a review January 25, 2026 20:51
Copy link
Copy Markdown
Owner

@miaklwalker miaklwalker left a comment

Choose a reason for hiding this comment

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

this is the correct fix, was a logical error on my part

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.

BUG: Joker Spoilers replace all pack content

2 participants