mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-01-17 22:55:38 +00:00
Merge pull request #386 from pjft/scraper-crash
Fix crash when scraping folders
This commit is contained in:
commit
f7b58527eb
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue