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(gs): Return unfilled tile types for nonexistent players #124

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

jespertheend
Copy link
Owner

Potential fix for #122

It seems like tile values that point to non existent players is intentional, so we shouldn't throw an assertion error.
Unfortunately this also means that if there is ever a bug causing tiles from disconnected players to not get cleaned up, we will never find out. But that's a trade off I'm willing to make.

@jespertheend jespertheend merged commit dbf71cb into main Nov 7, 2023
1 check passed
@jespertheend jespertheend deleted the 122-Tile-points-to-a-non-existent-player branch November 7, 2023 19:56
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.

None yet

1 participant