mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 06:28:19 +00:00
Request server list and ranks at better location
This commit is contained in:
parent
7b6317a5d6
commit
42bc38227d
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue