remove workaround for very old Mono bugs

This commit is contained in:
Matthias Mailänder
2013-08-23 21:00:41 +02:00
parent b44d5a87f6
commit a5572b50cf

View File

@@ -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);