Fix: only query a manually added server if it isn't there yet

But always mark it as manually, no matter if it was there or not.
This commit is contained in:
Patric Stout
2021-05-04 20:43:35 +02:00
committed by Patric Stout
parent fc91f1d1b2
commit b9ab3bd6b3
2 changed files with 6 additions and 5 deletions

View File

@@ -90,7 +90,7 @@ extern CompanyMask _network_company_passworded;
void NetworkTCPQueryServer(const std::string &connection_string, bool request_company_info = false);
void GetBindAddresses(NetworkAddressList *addresses, uint16 port);
struct NetworkGameList *NetworkAddServer(const std::string &connection_string);
struct NetworkGameList *NetworkAddServer(const std::string &connection_string, bool manually = true);
void NetworkRebuildHostList();
void UpdateNetworkGameWindow();