From 099e222a80914277408c63137c1df7c95ed6a685 Mon Sep 17 00:00:00 2001 From: derrod Date: Sat, 16 May 2020 16:48:45 +0200 Subject: [PATCH] [core] Return platform specific version if override is used --- legendary/core.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/legendary/core.py b/legendary/core.py index 51c84b6..c3428d6 100644 --- a/legendary/core.py +++ b/legendary/core.py @@ -178,6 +178,11 @@ class LegendaryCore: if not platform_override: self.lgd.set_game_meta(game.app_name, game) + # replace asset info with the platform specific one if override is used + if platform_override: + game.app_version = ga.build_version + game.asset_info = ga + if game.is_dlc: _dlc[game.metadata['mainGameItem']['id']].append(game) else: