You've already forked lidgren-network-gen3
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user