Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle client leaving a room #150

Open
simlf opened this issue Nov 5, 2022 · 0 comments
Open

Handle client leaving a room #150

simlf opened this issue Nov 5, 2022 · 0 comments
Labels
network all things about network

Comments

@simlf
Copy link
Collaborator

simlf commented Nov 5, 2022

This bug occurs when a client leaves a room and another client joins it, the previous user that left the room is still in.

This is because we should have a message from the client to the server every 10 seconds to know that the client is still in the room.

If the server doesnt receive it we should remove this player from the room.

@simlf simlf added the network all things about network label Nov 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
network all things about network
Projects
None yet
Development

No branches or pull requests

1 participant