fix: remove faulty participant deletion
This commit is contained in:
parent
e40218b2cf
commit
1e37bf8ff3
@ -162,10 +162,6 @@ public class LobbyManager {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!byRemote) {
|
|
||||||
participants.remove(client.id);
|
|
||||||
}
|
|
||||||
|
|
||||||
Participant participant = participants.get(client.id);
|
Participant participant = participants.get(client.id);
|
||||||
|
|
||||||
LobbyConnection lobby = lobbies.get(participant.lobby);
|
LobbyConnection lobby = lobbies.get(participant.lobby);
|
||||||
|
Loading…
Reference in New Issue
Block a user