parent
551bfdea50
commit
39bb77b780
@ -182,6 +182,8 @@ namespace party
|
|||||||
}
|
}
|
||||||
|
|
||||||
void connect_stub(const char* address)
|
void connect_stub(const char* address)
|
||||||
|
{
|
||||||
|
if (address)
|
||||||
{
|
{
|
||||||
const auto target = network::address_from_string(address);
|
const auto target = network::address_from_string(address);
|
||||||
if (target.type == game::NA_BAD)
|
if (target.type == game::NA_BAD)
|
||||||
@ -190,7 +192,9 @@ namespace party
|
|||||||
}
|
}
|
||||||
|
|
||||||
connect_host = target;
|
connect_host = target;
|
||||||
query_server(target, handle_connect_query_response);
|
}
|
||||||
|
|
||||||
|
query_server(connect_host, handle_connect_query_response);
|
||||||
}
|
}
|
||||||
|
|
||||||
void send_server_query(server_query& query)
|
void send_server_query(server_query& query)
|
||||||
|
Loading…
Reference in New Issue
Block a user