1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-06 02:11:06 +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

@@ -270,7 +270,7 @@ namespace Lidgren.Network
switch (tp)
{
case NetMessageType.Connect:
if (m_status == NetConnectionStatus.None)
if (m_status == NetConnectionStatus.ReceivedInitiation)
{
// Whee! Server full has already been checked
bool ok = ValidateHandshakeData(ptr, payloadLength, out hail);