fail
This commit is contained in:
@@ -208,7 +208,7 @@ namespace OpenRA
|
|||||||
static Queue<Pair<int, string>> syncReports = new Queue<Pair<int, string>>();
|
static Queue<Pair<int, string>> syncReports = new Queue<Pair<int, string>>();
|
||||||
const int numSyncReports = 5;
|
const int numSyncReports = 5;
|
||||||
|
|
||||||
static void UpdateSyncReport()
|
public static void UpdateSyncReport()
|
||||||
{
|
{
|
||||||
if (!Settings.RecordSyncReports)
|
if (!Settings.RecordSyncReports)
|
||||||
return;
|
return;
|
||||||
@@ -291,9 +291,6 @@ namespace OpenRA
|
|||||||
|
|
||||||
world.Tick();
|
world.Tick();
|
||||||
|
|
||||||
if (isNetTick)
|
|
||||||
UpdateSyncReport();
|
|
||||||
|
|
||||||
PerfHistory.Tick();
|
PerfHistory.Tick();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -197,6 +197,8 @@ namespace OpenRA.Network
|
|||||||
Connection.Send( ss );
|
Connection.Send( ss );
|
||||||
WriteToReplay( frameData, ss );
|
WriteToReplay( frameData, ss );
|
||||||
|
|
||||||
|
Game.UpdateSyncReport();
|
||||||
|
|
||||||
CheckSync( ss );
|
CheckSync( ss );
|
||||||
|
|
||||||
++FrameNumber;
|
++FrameNumber;
|
||||||
|
|||||||
Reference in New Issue
Block a user