This commit is contained in:
Chris Forbes
2009-12-01 18:33:34 +13:00
parent 116f7d3b53
commit 821e7a5747

View File

@@ -92,8 +92,8 @@ namespace OpenRA.Server
{
case ReceiveState.Header:
{
conn.ExpectLength = BitConverter.ToInt32(bytes, 4) - 4;
conn.Frame = BitConverter.ToInt32(bytes, 0);
conn.ExpectLength = BitConverter.ToInt32(bytes, 0) - 4;
conn.Frame = BitConverter.ToInt32(bytes, 4);
conn.State = ReceiveState.Data;
} break;