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

lazy eval of linq messes with player rotation #17

Open
3k-dome opened this issue May 14, 2023 · 0 comments
Open

lazy eval of linq messes with player rotation #17

3k-dome opened this issue May 14, 2023 · 0 comments

Comments

@3k-dome
Copy link
Owner

3k-dome commented May 14, 2023

We need to make a small fix that requires us to change the type of the player collection to a static sequence, such as a plain array. Otherwise, LINQ queries like the one inside the Catan constructor will just stack on top of each other, resulting in the players being shuffled every time the player collection is queried.

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

No branches or pull requests

1 participant