From 25f31d154c3c12a5d7c6fa09893bd0f2b541ddea Mon Sep 17 00:00:00 2001 From: pjft Date: Fri, 9 Mar 2018 16:41:55 +0000 Subject: [PATCH] Fix crash when scraping folders --- es-app/src/CollectionSystemManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-app/src/CollectionSystemManager.cpp b/es-app/src/CollectionSystemManager.cpp index e10a9784d..b359dc45a 100644 --- a/es-app/src/CollectionSystemManager.cpp +++ b/es-app/src/CollectionSystemManager.cpp @@ -221,7 +221,7 @@ void CollectionSystemManager::updateSystemsList() // updates all collection files related to the source file void CollectionSystemManager::refreshCollectionSystems(FileData* file) { - if (!file->getSystem()->isGameSystem()) + if (!file->getSystem()->isGameSystem() || file->getType() != GAME) return; std::map allCollections;