diff --git a/OpenRA.Game/Game.cs b/OpenRA.Game/Game.cs index 36d6723990..5e76423425 100644 --- a/OpenRA.Game/Game.cs +++ b/OpenRA.Game/Game.cs @@ -441,14 +441,11 @@ namespace OpenRA var settings = new ServerSettings() { Name = "Skirmish Game", - Map = map + Map = map, + AdvertiseOnline = false, + AllowPortForward = false }; - // Work around a miscompile in mono 2.6.7: - // booleans that default to true cannot be set false by an initializer - settings.AdvertiseOnline = false; - settings.AllowPortForward = false; - server = new Server.Server(new IPEndPoint(IPAddress.Loopback, 0), Game.Settings.Game.Mods, settings, modData);