Request server list and ranks at better location

This commit is contained in:
def 2017-09-03 09:00:57 +02:00
parent 7b6317a5d6
commit 42bc38227d

View file

@ -1169,9 +1169,6 @@ void CClient::ProcessConnlessPacket(CNetChunk *pPacket)
Packet.m_Flags = NETSENDFLAG_CONNLESS;
m_NetClient[g_Config.m_ClDummy].Send(&Packet);
RequestDDNetSrvList();
RequestDDNetRanks();
// request the map version list now
mem_zero(&Packet, sizeof(Packet));
Packet.m_ClientID = -1;
@ -2824,6 +2821,9 @@ void CClient::Run()
m_Fifo.Init(m_pConsole, g_Config.m_ClInputFifo, CFGFLAG_CLIENT);
#endif
RequestDDNetSrvList();
RequestDDNetRanks();
bool LastD = false;
bool LastQ = false;
bool LastE = false;