allow custom masterserver URL

This commit is contained in:
Chris Forbes
2010-03-15 15:49:42 +13:00
parent fd23407792
commit 845bbf0f39
3 changed files with 6 additions and 3 deletions

View File

@@ -154,7 +154,7 @@ namespace OpenRA
internal static void CreateServer()
{
// todo: LobbyInfo is the wrong place for this.
Server.Server.ServerMain(Settings.InternetServer, Settings.GameName, Settings.ListenPort,
Server.Server.ServerMain(Settings.InternetServer, Settings.MasterServer, Settings.GameName, Settings.ListenPort,
Settings.ExternalPort, LobbyInfo.GlobalSettings.Mods);
JoinServer(IPAddress.Loopback.ToString(), Settings.ListenPort);