From 1e37bf8ff3e90f7cb53ce8c18d455e72dc50b0bd Mon Sep 17 00:00:00 2001 From: punchready Date: Mon, 7 Jun 2021 15:00:39 +0200 Subject: [PATCH] fix: remove faulty participant deletion --- .../teamname/marvelous/server/lobbymanager/LobbyManager.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Server/src/main/java/uulm/teamname/marvelous/server/lobbymanager/LobbyManager.java b/Server/src/main/java/uulm/teamname/marvelous/server/lobbymanager/LobbyManager.java index 360f4f2..c94baae 100644 --- a/Server/src/main/java/uulm/teamname/marvelous/server/lobbymanager/LobbyManager.java +++ b/Server/src/main/java/uulm/teamname/marvelous/server/lobbymanager/LobbyManager.java @@ -162,10 +162,6 @@ public class LobbyManager { return; } - if (!byRemote) { - participants.remove(client.id); - } - Participant participant = participants.get(client.id); LobbyConnection lobby = lobbies.get(participant.lobby);