You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-16 15:16:33 +09:00
Fixed maximum handshake attempts one-off error
Fixed better disconnect messages when not yet fully connected (aborting connection attempt)
This commit is contained in:
@@ -109,9 +109,6 @@ namespace Lidgren.Network
|
||||
if (reason == null)
|
||||
reason = string.Empty;
|
||||
|
||||
// new status equals potentially new handshake attempts
|
||||
m_handshakeAttempts = 0;
|
||||
|
||||
if (m_status == NetConnectionStatus.Connected)
|
||||
{
|
||||
m_timeoutDeadline = (float)NetTime.Now + m_peerConfiguration.m_connectionTimeout;
|
||||
|
||||
Reference in New Issue
Block a user