SyncReport filename contains index of local client

This commit is contained in:
dnqbob
2022-11-21 11:16:04 +08:00
committed by abcdefg30
parent 1a2ef49100
commit 60f35f779d

View File

@@ -104,7 +104,7 @@ namespace OpenRA.Network
internal void DumpSyncReport(int frame)
{
var reportName = "syncreport-" + DateTime.UtcNow.ToString("yyyy-MM-ddTHHmmssZ", CultureInfo.InvariantCulture) + ".log";
var reportName = "syncreport-" + DateTime.UtcNow.ToString("yyyy-MM-ddTHHmmssZ", CultureInfo.InvariantCulture) + "-" + orderManager.LocalClient.Index + ".log";
Log.AddChannel("sync", reportName);
var recordedFrames = new List<int>();