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