jespertheend / splix

MIT License
24 stars 5 forks source link

fix(gs): Send empty chunk of blocks when the gameserver is ready #102

Closed jespertheend closed 1 year ago

jespertheend commented 1 year ago

Fixes #92

The mobile client seems to expect a CHUNK_OF_BLOCKS message before it starts moving the player. So we send an empty chunk to trick the client into enabling player movement.

This wasn't an issue in the past because CHUNK_OF_BLOCKS was sent frequently. But now only FILL_RECT is used for updating the map.