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.
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.