committed the wrong chang

This commit is contained in:
vis2k 2021-07-08 18:00:50 +08:00
parent 2c18d5d4ee
commit b1a2ade539
2 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,6 @@ internal void DisconnectInternal()
/// <summary>Disconnects this connection.</summary>
public override void Disconnect()
{
Debug.LogWarning($"LocalConnToServer.Disco...");
connectionToClient.DisconnectInternal();
DisconnectInternal();

View File

@ -210,6 +210,7 @@ internal static void SetLocalConnection(LocalConnectionToClient conn)
localConnection = conn;
}
// removes local connection to client
internal static void RemoveLocalConnection()
{
if (localConnection != null)