Skip to content

Use MyRandom for gameplay shuffle calls#11172

Open
delebedev wants to merge 2 commits into
Card-Forge:masterfrom
delebedev:fix/myrandom-shuffle-sites
Open

Use MyRandom for gameplay shuffle calls#11172
delebedev wants to merge 2 commits into
Card-Forge:masterfrom
delebedev:fix/myrandom-shuffle-sites

Conversation

@delebedev

@delebedev delebedev commented Jul 6, 2026

Copy link
Copy Markdown

Two gameplay shuffle paths were still using the single-argument Collections.shuffle overload, which bypasses Forge's shared MyRandom source.

This routes those shuffles through MyRandom.getRandom(), matching the surrounding game code and preserving the default RNG behavior.

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