mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-26 08:05:38 +00:00
Fix crash when scraping folders
This commit is contained in:
parent
566804e682
commit
25f31d154c
|
@ -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