fix: remove stored sessions when clients get disconnected by the server
This commit is contained in:
parent
0d1af0ed62
commit
efa5ce3848
@ -143,6 +143,10 @@ public class LobbyManager {
|
||||
return;
|
||||
}
|
||||
|
||||
if(!byRemote) {
|
||||
participants.remove(client.id);
|
||||
}
|
||||
|
||||
Participant participant = participants.get(client.id);
|
||||
|
||||
LobbyConnection lobby = lobbies.get(participant.lobby);
|
||||
|
Loading…
Reference in New Issue
Block a user