Files
sor/Client
c58f03757d Fix occupantId null handling in game_screen.gd
Server sends occupantId as JSON null for empty tiles, not "".
- dict.get("occupantId", "") returns null (not "") when key is present with null value
- Fixed all four occupantId checks to use truthiness instead of "" comparison
- Hold timer: extract to untyped var first then cast, avoids Nil→String assignment crash
- Valid placement/move/channel tiles now correctly identify empty tiles

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-03-07 10:37:51 -05:00
..