You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-15 14:46:29 +09:00
Handshakes are now resent if lost. Documentation updated.
This commit is contained in:
@@ -90,10 +90,14 @@ namespace Lidgren.Network
|
||||
|
||||
if (status == m_status)
|
||||
return;
|
||||
|
||||
m_status = status;
|
||||
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