mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Actually use the storagetype we passed.
This commit is contained in:
parent
142c386cd6
commit
ec84bb890b
|
@ -99,7 +99,7 @@ bool CFetcher::FetchFile(CFetchTask *pTask)
|
|||
if(pTask->m_pDest[i] == '/')
|
||||
{
|
||||
pTask->m_pDest[i] = '\0';
|
||||
m_pStorage->CreateFolder(pTask->m_pDest, 2);
|
||||
m_pStorage->CreateFolder(pTask->m_pDest, pTask->m_StorageType);
|
||||
pTask->m_pDest[i] = '/';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue