[core] Return platform specific version if override is used

This commit is contained in:
derrod 2020-05-16 16:48:45 +02:00
parent 297d3b7690
commit 099e222a80

View file

@ -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: