NetworkServer.RemoveLocalClient: remove unnecessary parameter

This commit is contained in:
vis2k 2019-02-26 15:01:18 +01:00
parent 9c58cb5c80
commit 7ac3749274
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ public override void Disconnect()
{
packetQueue.Enqueue(Protocol.PackMessage((ushort)MsgType.Disconnect, new EmptyMessage()));
}
NetworkServer.RemoveLocalClient(connection);
NetworkServer.RemoveLocalClient();
}
internal void InternalConnectLocalServer()

View File

@ -147,7 +147,7 @@ internal static int AddLocalClient(LocalClient localClient)
return 0;
}
internal static void RemoveLocalClient(NetworkConnection localClientConnection)
internal static void RemoveLocalClient()
{
if (s_LocalConnection != null)
{