1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-14 22:26:29 +09:00

Disconnect issue fixed

This commit is contained in:
lidgren
2010-11-03 21:14:44 +00:00
parent 3720cfee93
commit 9c8f523d39

View File

@@ -138,6 +138,12 @@ namespace Lidgren.Network
if (now > m_sentPingTime + m_peer.m_configuration.m_pingInterval)
SendPing();
}
if (m_disconnectRequested)
{
ExecuteDisconnect(m_disconnectMessage, true);
return;
}
}
bool connectionReset; // TODO: handle connection reset