1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-16 07:06:30 +09:00

Invalid warning message about status fixed

This commit is contained in:
lidgren
2012-07-06 18:29:57 +00:00
parent 90ba729c35
commit d11dcbe257
6 changed files with 14 additions and 4 deletions

View File

@@ -265,7 +265,7 @@ namespace Lidgren.Network
if (m_handshakes.TryGetValue(remoteEndpoint, out hs))
{
// already trying to connect to that endpoint; make another try
switch (hs.Status)
switch (hs.m_status)
{
case NetConnectionStatus.InitiatedConnect:
// send another connect
@@ -277,7 +277,7 @@ namespace Lidgren.Network
break;
default:
// weird
LogWarning("Weird situation; Connect() already in progress to remote endpoint; but hs status is " + hs.Status);
LogWarning("Weird situation; Connect() already in progress to remote endpoint; but hs status is " + hs.m_status);
break;
}
return hs;