diff --git a/Server/Server.cs b/Server/Server.cs index 64eedd6..9ea8fa5 100644 --- a/Server/Server.cs +++ b/Server/Server.cs @@ -182,7 +182,7 @@ public class Server { case ConnectPacket.ConnectionTypes.Reconnecting: { client.Id = header.Id; if (FindExistingClient(header.Id) is { } newClient) { - // if (newClient.Connected) throw new Exception($"Tried to join as already connected user {header.Id}"); + if (newClient.Connected) throw new Exception($"Tried to join as already connected user {header.Id}"); newClient.Socket = client.Socket; client = newClient; } else {