diff --git a/Assets/Mirror/Runtime/LocalConnections.cs b/Assets/Mirror/Runtime/LocalConnections.cs index 26c21332b..03dbc6874 100644 --- a/Assets/Mirror/Runtime/LocalConnections.cs +++ b/Assets/Mirror/Runtime/LocalConnections.cs @@ -147,7 +147,6 @@ internal void DisconnectInternal() /// Disconnects this connection. public override void Disconnect() { - Debug.LogWarning($"LocalConnToServer.Disco..."); connectionToClient.DisconnectInternal(); DisconnectInternal(); diff --git a/Assets/Mirror/Runtime/NetworkServer.cs b/Assets/Mirror/Runtime/NetworkServer.cs index dc284201c..73cc29aca 100644 --- a/Assets/Mirror/Runtime/NetworkServer.cs +++ b/Assets/Mirror/Runtime/NetworkServer.cs @@ -210,6 +210,7 @@ internal static void SetLocalConnection(LocalConnectionToClient conn) localConnection = conn; } + // removes local connection to client internal static void RemoveLocalConnection() { if (localConnection != null)