From a288e5b7a89e572c1655e1440f6af3cbc6dd943a Mon Sep 17 00:00:00 2001 From: Sanae Date: Tue, 15 Mar 2022 15:37:23 -0600 Subject: [PATCH] Rejoyne --- Server/Server.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {