From 805f61cc4bea945579174d90a1b25fa49532f979 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Sun, 8 May 2011 16:44:21 +1200 Subject: [PATCH] Bugfix when connecting via server browser --- OpenRA.Mods.Cnc/Widgets/CncServerBrowserLogic.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenRA.Mods.Cnc/Widgets/CncServerBrowserLogic.cs b/OpenRA.Mods.Cnc/Widgets/CncServerBrowserLogic.cs index 4a8be65cd6..9fcfcd94a7 100644 --- a/OpenRA.Mods.Cnc/Widgets/CncServerBrowserLogic.cs +++ b/OpenRA.Mods.Cnc/Widgets/CncServerBrowserLogic.cs @@ -78,6 +78,7 @@ namespace OpenRA.Mods.Cnc.Widgets string host = currentServer.Address.Split(':')[0]; int port = int.Parse(currentServer.Address.Split(':')[1]); + Widget.CloseWindow(); CncConnectingLogic.Connect(host, port, openLobby, onExit); };