mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 05:24:06 +02:00
Remove dirs from atp copy
This commit is contained in:
parent
c9ea6e7eb6
commit
99bb1fcbe1
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ void AssetServer::run() {
|
|||
_resourcesDirectory = QDir(ServerPathUtils::getDataDirectory()).filePath(RESOURCES_PATH);
|
||||
|
||||
bool noExistingAssets = !_resourcesDirectory.exists() \
|
||||
|| _resourcesDirectory.entryList(QDir::Dirs | QDir::NoDotAndDotDot | QDir::Files).size() == 0;
|
||||
|| _resourcesDirectory.entryList(QDir::Files).size() == 0;
|
||||
|
||||
if (noExistingAssets) {
|
||||
qDebug() << "Asset resources directory not found, searching for existing asset resources";
|
||||
|
|
Loading…
Reference in a new issue