From a28010917ea8fa1c1470dec735030eeca3f1b6e2 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Tue, 9 Mar 2010 20:56:59 +1300 Subject: [PATCH] automatically join the server --- OpenRA.Game/Game.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OpenRA.Game/Game.cs b/OpenRA.Game/Game.cs index 0780c18bb6..082c772581 100644 --- a/OpenRA.Game/Game.cs +++ b/OpenRA.Game/Game.cs @@ -33,6 +33,7 @@ using OpenRA.Support; using OpenRA.Traits; using Timer = OpenRA.Support.Timer; using OpenRA.Server; +using System.Net; namespace OpenRA { @@ -153,6 +154,7 @@ namespace OpenRA { // todo: LobbyInfo is the wrong place for this. InprocServer.Start(Game.LobbyInfo.GlobalSettings.Mods); + JoinServer(IPAddress.Loopback.ToString(), 1234); } internal static void CloseServer()