Bugfix when connecting via server browser
This commit is contained in:
@@ -78,6 +78,7 @@ namespace OpenRA.Mods.Cnc.Widgets
|
|||||||
string host = currentServer.Address.Split(':')[0];
|
string host = currentServer.Address.Split(':')[0];
|
||||||
int port = int.Parse(currentServer.Address.Split(':')[1]);
|
int port = int.Parse(currentServer.Address.Split(':')[1]);
|
||||||
|
|
||||||
|
Widget.CloseWindow();
|
||||||
CncConnectingLogic.Connect(host, port, openLobby, onExit);
|
CncConnectingLogic.Connect(host, port, openLobby, onExit);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user