diff --git a/src/engine/client/steam.cpp b/src/engine/client/steam.cpp index 45e473602..e4bc6d174 100644 --- a/src/engine/client/steam.cpp +++ b/src/engine/client/steam.cpp @@ -34,7 +34,7 @@ public: if(pConnect[0]) { NETADDR Connect; - if(net_addr_from_str(&Connect, pConnect) == 0) + if(net_host_lookup(pConnect, &Connect, NETTYPE_ALL) == 0) { m_ConnectAddr = Connect; m_GotConnectAddr = true;