Skip to content

Commit

Permalink
Merge pull request #386 from pjft/scraper-crash
Browse files Browse the repository at this point in the history
Fix crash when scraping folders
  • Loading branch information
joolswills committed Mar 9, 2018
2 parents 1e668d8 + 25f31d1 commit f7b5852
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion es-app/src/CollectionSystemManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<std::string, CollectionSystemData> allCollections;
Expand Down

0 comments on commit f7b5852

Please sign in to comment.