mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Always initialize m_InfosLoaded
This commit is contained in:
parent
a4e2130342
commit
c3e36ee483
|
@ -690,6 +690,7 @@ int CMenus::DemolistFetchCallback(const char *pName, time_t Date, int IsDir, int
|
||||||
if(IsDir)
|
if(IsDir)
|
||||||
{
|
{
|
||||||
str_format(Item.m_aName, sizeof(Item.m_aName), "%s/", pName);
|
str_format(Item.m_aName, sizeof(Item.m_aName), "%s/", pName);
|
||||||
|
Item.m_InfosLoaded = false;
|
||||||
Item.m_Valid = false;
|
Item.m_Valid = false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue