mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
[core] Exclude mods from games list
This commit is contained in:
parent
37083b01de
commit
effc74b73b
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue