mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 22:48:18 +00:00
Read ddnet-info.json from correct location
This commit is contained in:
parent
58927375fc
commit
29dd3e29f7
|
@ -1105,7 +1105,7 @@ int CServerBrowser::HasRank(const char *pMap)
|
|||
void CServerBrowser::LoadDDNetInfoJson()
|
||||
{
|
||||
IStorage *pStorage = Kernel()->RequestInterface<IStorage>();
|
||||
IOHANDLE File = pStorage->OpenFile("ddnet-info.json", IOFLAG_READ, IStorage::TYPE_ALL);
|
||||
IOHANDLE File = pStorage->OpenFile("ddnet-info.json", IOFLAG_READ, IStorage::TYPE_SAVE);
|
||||
|
||||
if(!File)
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue