From ecb405172b7d6a89169d65f042c00e2fa463ae59 Mon Sep 17 00:00:00 2001 From: derrod Date: Sun, 23 Oct 2022 14:46:31 +0200 Subject: [PATCH] [core] Fix incompatible DLCs being returned --- legendary/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/core.py b/legendary/core.py index f8dd2c7..1144ca2 100644 --- a/legendary/core.py +++ b/legendary/core.py @@ -469,7 +469,7 @@ class LegendaryCore: fetch_game_meta((app_name, _ga.namespace, _ga.catalog_item_id)) game = games[app_name] - if game.is_dlc: + if game.is_dlc and platform in app_assets: _dlc[game.metadata['mainGameItem']['id']].append(game) elif not any(i['path'] == 'mods' for i in game.metadata.get('categories', [])) and platform in app_assets: _ret.append(game)