mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
[core] Return platform specific version if override is used
This commit is contained in:
parent
297d3b7690
commit
099e222a80
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue