mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
NetworkServer.RemoveLocalClient: remove unnecessary parameter
This commit is contained in:
parent
9c58cb5c80
commit
7ac3749274
@ -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()
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user