[Download] Only create dir when downloading a map
This commit is contained in:
parent
15aea4e0bc
commit
a54e322f9c
@ -221,7 +221,7 @@ namespace Components
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
Utils::IO::CreateDir("usermaps/" + download->mod);
|
if (download->isMap) Utils::IO::CreateDir("usermaps/" + download->mod);
|
||||||
Utils::IO::WriteFile(path, fDownload.buffer);
|
Utils::IO::WriteFile(path, fDownload.buffer);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user