colyseus / docs

Documentation for Colyseus
https://docs.colyseus.io
10 stars 72 forks source link

Fix fallback documentation #153

Closed khoakomlem closed 9 months ago

khoakomlem commented 9 months ago

Misunderstanding fallback, fallback only registered for one callback only. ps: this take me a day to realize this behaviour, I was though that's a bug

endel commented 9 months ago

Thanks for the addition @khoakomlem 💙 I didn't realized the server-side still had the limitation that only a single handler would be registered per message type. This is not the case on the client-side - I think we can support the same behaviour in the server soon

endel commented 9 months ago

I made some changes to your PR, feel free to send another one if think it's needed 🙌