jespertheend / splix

MIT License
24 stars 5 forks source link

fix(gs): Return unfilled tile types for nonexistent players #124

Closed jespertheend closed 1 year ago

jespertheend commented 1 year ago

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.