mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 01:24:18 +00:00
Really only download ddnet-info.json at correct time
This commit is contained in:
parent
715ac673ec
commit
73d9ad7615
|
@ -2691,6 +2691,8 @@ void CClient::Run()
|
|||
LoadDDNetInfo();
|
||||
// but still request the new one from server
|
||||
if(g_Config.m_ClShowWelcome)
|
||||
g_Config.m_ClShowWelcome = 0;
|
||||
else
|
||||
RequestDDNetInfo();
|
||||
|
||||
bool LastD = false;
|
||||
|
|
|
@ -926,7 +926,6 @@ void CMenus::OnInit()
|
|||
|
||||
if(g_Config.m_ClShowWelcome)
|
||||
m_Popup = POPUP_LANGUAGE;
|
||||
g_Config.m_ClShowWelcome = 0;
|
||||
|
||||
Console()->Chain("add_favorite", ConchainServerbrowserUpdate, this);
|
||||
Console()->Chain("remove_favorite", ConchainServerbrowserUpdate, this);
|
||||
|
|
Loading…
Reference in a new issue