Displaying circle on join
authorDavid Négrier <d.negrier@thecodingmachine.com>
Wed, 13 May 2020 21:11:10 +0000 (23:11 +0200)
committerDavid Négrier <d.negrier@thecodingmachine.com>
Wed, 13 May 2020 21:11:10 +0000 (23:11 +0200)
commit4cca1c1e584f15f9fc4b5181b6d70a9bceff6cc1
tree34a93f5fa9096fb79914f1dbe9b06b10498c2fa5
parent517d3981d1d90991a1506264a1d598fc3359e352
Displaying circle on join

So far, someone joining a map would not see the circles of groups already formed until someone moves in the group (because the "circle_moved_or_updated" event was not fired when someone arrives)

This commit fixes this behaviour. Someone entering a room will receive an event for each and every group currently formed.
back/src/Controller/IoSocketController.ts
back/src/Model/World.ts