This commit is contained in:
Chris Forbes
2010-04-29 17:45:34 +12:00
parent 0c31e1c8a1
commit ce36f40ee2
2 changed files with 3 additions and 4 deletions

View File

@@ -208,7 +208,7 @@ namespace OpenRA
static Queue<Pair<int, string>> syncReports = new Queue<Pair<int, string>>();
const int numSyncReports = 5;
static void UpdateSyncReport()
public static void UpdateSyncReport()
{
if (!Settings.RecordSyncReports)
return;
@@ -291,9 +291,6 @@ namespace OpenRA
world.Tick();
if (isNetTick)
UpdateSyncReport();
PerfHistory.Tick();
}
else

View File

@@ -197,6 +197,8 @@ namespace OpenRA.Network
Connection.Send( ss );
WriteToReplay( frameData, ss );
Game.UpdateSyncReport();
CheckSync( ss );
++FrameNumber;