diff options
author | Patric Stout <truebrain@openttd.org> | 2021-05-09 18:48:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-09 18:48:21 +0200 |
commit | 583011bca0a1aa5b508ccdebe591df4eae01efb5 (patch) | |
tree | e9e354500bb319ae87a6af0ddd312c8e7428414c /src/network/network_internal.h | |
parent | e162d0a55ccc4cf38fd09ce0fa349e4887a55448 (diff) | |
download | openttd-583011bca0a1aa5b508ccdebe591df4eae01efb5.tar.xz |
Fix: lobby window doesn't close if no connection could be established (#9223)
Diffstat (limited to 'src/network/network_internal.h')
-rw-r--r-- | src/network/network_internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/network/network_internal.h b/src/network/network_internal.h index ac5472fe1..3456ab251 100644 --- a/src/network/network_internal.h +++ b/src/network/network_internal.h @@ -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); |