Really only download ddnet-info.json at correct time

This commit is contained in:
def 2017-09-08 22:16:00 +02:00
parent 715ac673ec
commit 73d9ad7615
2 changed files with 2 additions and 1 deletions

View file

@ -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;

View file

@ -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);