From 1feff9d7497bfeea66bd5cb5c31f70262b2fe73d Mon Sep 17 00:00:00 2001 From: rodolphito Date: Wed, 27 Mar 2019 05:56:59 -0700 Subject: [PATCH] Removed useless comment. (#676) --- Assets/Mirror/Runtime/NetworkConnection.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Assets/Mirror/Runtime/NetworkConnection.cs b/Assets/Mirror/Runtime/NetworkConnection.cs index 201cb233d..90c34fe8a 100644 --- a/Assets/Mirror/Runtime/NetworkConnection.cs +++ b/Assets/Mirror/Runtime/NetworkConnection.cs @@ -86,14 +86,13 @@ public void Disconnect() if (Transport.activeTransport.ServerActive() && connectionId != 0) { Transport.activeTransport.ServerDisconnect(connectionId); - } + } // not server and not host mode? then disconnect client else { Transport.activeTransport.ClientDisconnect(); } - // remove observers RemoveObservers(); }