diff --git a/OpenRA.Game/Game.cs b/OpenRA.Game/Game.cs index 2919ef05ff..aa961f6df2 100644 --- a/OpenRA.Game/Game.cs +++ b/OpenRA.Game/Game.cs @@ -260,7 +260,6 @@ namespace OpenRA Log.AddChannel("perf", "perf.log"); Log.AddChannel("debug", "debug.log"); - Log.AddChannel("sync", "syncreport.log"); Log.AddChannel("server", "server.log"); Log.AddChannel("sound", "sound.log"); Log.AddChannel("graphics", "graphics.log"); diff --git a/OpenRA.Game/Network/SyncReport.cs b/OpenRA.Game/Network/SyncReport.cs index 1e405b7c8e..d408f5c16f 100644 --- a/OpenRA.Game/Network/SyncReport.cs +++ b/OpenRA.Game/Network/SyncReport.cs @@ -97,6 +97,7 @@ namespace OpenRA.Network if (r.Frame == frame) { var mod = Game.ModData.Manifest.Metadata; + Log.AddChannel("sync", "syncreport.log"); Log.Write("sync", "Player: {0} ({1} {2} {3})", Game.Settings.Player.Name, Platform.CurrentPlatform, Environment.OSVersion, Platform.RuntimeVersion); Log.Write("sync", "Game ID: {0} (Mod: {1} at Version {2})", orderManager.LobbyInfo.GlobalSettings.GameUid, mod.Title, mod.Version); Log.Write("sync", "Sync for net frame {0} -------------", r.Frame);