You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-18 08:06:33 +09:00
Added some optimizations
This commit is contained in:
@@ -228,7 +228,7 @@ namespace Lidgren.Network
|
||||
SendConnectResponse(true);
|
||||
return;
|
||||
}
|
||||
m_peer.LogDebug("Unhandled handshake: " + tp + ", status is " + m_status + " length: " + payloadLength);
|
||||
m_peer.LogDebug("Unhandled Connect: " + tp + ", status is " + m_status + " length: " + payloadLength);
|
||||
break;
|
||||
case NetMessageType.ConnectResponse:
|
||||
switch (m_status)
|
||||
@@ -303,7 +303,7 @@ namespace Lidgren.Network
|
||||
SetStatus(NetConnectionStatus.Disconnected, reason);
|
||||
break;
|
||||
default:
|
||||
m_peer.LogDebug("Unhandled handshake: " + tp + " length: " + payloadLength);
|
||||
m_peer.LogDebug("Unhandled type during handshake: " + tp + " length: " + payloadLength);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user