fixes sync bug.

This commit is contained in:
Bob
2010-01-23 20:10:11 +13:00
parent a5d4a6befc
commit 057d248ee5
3 changed files with 29 additions and 19 deletions

View File

@@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace OpenRa.Network
{
@@ -129,8 +130,8 @@ namespace OpenRa.Network
}
var ss = sync.SerializeSync( FrameNumber );
CheckSync( ss );
Connection.Send( ss );
CheckSync( ss );
++frameNumber;
}