[core] Exclude mods from games list

This commit is contained in:
derrod 2020-11-01 16:38:43 +01:00
parent 37083b01de
commit effc74b73b

View file

@ -254,7 +254,7 @@ class LegendaryCore:
if game.is_dlc:
_dlc[game.metadata['mainGameItem']['id']].append(game)
else:
elif not any(i['path'] == 'mods' for i in game.metadata.get('categories', [])):
_ret.append(game)
return _ret, _dlc