mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +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;
|
Packet.m_Flags = NETSENDFLAG_CONNLESS;
|
||||||
m_NetClient[g_Config.m_ClDummy].Send(&Packet);
|
m_NetClient[g_Config.m_ClDummy].Send(&Packet);
|
||||||
|
|
||||||
RequestDDNetSrvList();
|
|
||||||
RequestDDNetRanks();
|
|
||||||
|
|
||||||
// request the map version list now
|
// request the map version list now
|
||||||
mem_zero(&Packet, sizeof(Packet));
|
mem_zero(&Packet, sizeof(Packet));
|
||||||
Packet.m_ClientID = -1;
|
Packet.m_ClientID = -1;
|
||||||
|
@ -2824,6 +2821,9 @@ void CClient::Run()
|
||||||
m_Fifo.Init(m_pConsole, g_Config.m_ClInputFifo, CFGFLAG_CLIENT);
|
m_Fifo.Init(m_pConsole, g_Config.m_ClInputFifo, CFGFLAG_CLIENT);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
RequestDDNetSrvList();
|
||||||
|
RequestDDNetRanks();
|
||||||
|
|
||||||
bool LastD = false;
|
bool LastD = false;
|
||||||
bool LastQ = false;
|
bool LastQ = false;
|
||||||
bool LastE = false;
|
bool LastE = false;
|
||||||
|
|
Loading…
Reference in a new issue