Also use the port when connecting to a server

This commit is contained in:
smallmodel 2024-09-13 19:07:06 +02:00
parent 45fe0bc8b7
commit 2d696cf500
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -175,7 +175,7 @@ void UILANGameClass::JoinServer(Event *ev)
const serverInfo_t& serverInfo = cls.localServers[getCurrentItem() - 1];
UI_SetReturnMenuToCurrent();
CL_Connect(NET_AdrToString(serverInfo.adr), netadrtype_t::NA_UNSPEC);
CL_Connect(NET_AdrToStringwPort(serverInfo.adr), netadrtype_t::NA_UNSPEC);
}
qboolean UILANGameClass::KeyEvent(int key, unsigned int time)