mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Removed useless comment. (#676)
This commit is contained in:
parent
6edfd3ddf1
commit
1feff9d749
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user