You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-06 02:11:06 +09:00
Delaying local Disconnect until next heartbeat
This commit is contained in:
@@ -8,8 +8,9 @@ namespace Lidgren.Network
|
||||
{
|
||||
internal bool m_connectRequested;
|
||||
internal bool m_disconnectRequested;
|
||||
internal bool m_connectionInitiator;
|
||||
internal bool m_disconnectReqSendBye;
|
||||
internal string m_disconnectMessage;
|
||||
internal bool m_connectionInitiator;
|
||||
internal NetIncomingMessage m_remoteHailMessage;
|
||||
internal float m_lastHandshakeSendTime;
|
||||
internal int m_handshakeAttempts;
|
||||
@@ -486,6 +487,7 @@ namespace Lidgren.Network
|
||||
|
||||
m_handshakeAttempts = 0;
|
||||
m_disconnectRequested = true;
|
||||
m_disconnectReqSendBye = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user