mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
refind skins after reload
This commit is contained in:
parent
3e42d3df5a
commit
d2295ff94e
|
@ -420,6 +420,10 @@ void CMenus::RefreshSkins()
|
|||
RenderLoading(Localize("Loading skin files"), "", 0, false);
|
||||
}
|
||||
});
|
||||
if(Client()->State() >= IClient::STATE_ONLINE)
|
||||
{
|
||||
m_pClient->RefindSkins();
|
||||
}
|
||||
}
|
||||
|
||||
void CMenus::RenderSettingsTee(CUIRect MainView)
|
||||
|
@ -795,10 +799,6 @@ void CMenus::RenderSettingsTee(CUIRect MainView)
|
|||
TextRender()->SetCurFont(NULL);
|
||||
RefreshSkins();
|
||||
s_InitSkinlist = true;
|
||||
if(Client()->State() >= IClient::STATE_ONLINE)
|
||||
{
|
||||
m_pClient->RefindSkins();
|
||||
}
|
||||
}
|
||||
TextRender()->SetRenderFlags(0);
|
||||
TextRender()->SetCurFont(NULL);
|
||||
|
|
Loading…
Reference in a new issue