Fix: lobby window doesn't close if no connection could be established (#9223)

This commit is contained in:
Patric Stout
2021-05-09 18:48:21 +02:00
committed by GitHub
parent e162d0a55c
commit 583011bca0
3 changed files with 48 additions and 13 deletions

View File

@@ -87,7 +87,8 @@ extern uint8 _network_reconnect;
extern CompanyMask _network_company_passworded;
void NetworkTCPQueryServer(const std::string &connection_string, bool request_company_info = false);
void NetworkQueryServer(const std::string &connection_string);
void NetworkQueryLobbyServer(const std::string &connection_string);
void GetBindAddresses(NetworkAddressList *addresses, uint16 port);
struct NetworkGameList *NetworkAddServer(const std::string &connection_string, bool manually = true);