Remove dirs from atp copy

This commit is contained in:
Ryan Huffman 2016-01-21 16:46:45 -08:00
parent c9ea6e7eb6
commit 99bb1fcbe1

View file

@ -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";