[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;
|
||||
}
|
||||
|
||||
Utils::IO::CreateDir("usermaps/" + download->mod);
|
||||
if (download->isMap) Utils::IO::CreateDir("usermaps/" + download->mod);
|
||||
Utils::IO::WriteFile(path, fDownload.buffer);
|
||||
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user