internal void OnClientDisconnectInternal(NetworkMessage netMsg)
{
if (LogFilter.logDebug)
{
Debug.Log("NetworkManager:OnClientDisconnectInternal");
}
if ((this.m_MigrationManager == null) || !this.m_MigrationManager.LostHostOnClient(netMsg.conn))
{
if (this.m_OfflineScene != "")
{
this.ClientChangeScene(this.m_OfflineScene, false);
}
if (((this.matchMaker != null) && (this.matchInfo != null)) && ((this.matchInfo.networkId != NetworkID.Invalid) && (this.matchInfo.nodeId != NodeID.Invalid)))
{
this.matchMaker.DropConnection(this.matchInfo.networkId, this.matchInfo.nodeId, this.matchInfo.domain, new NetworkMatch.BasicResponseDelegate(this.OnDropConnection));
}
this.OnClientDisconnect(netMsg.conn);
}
}