mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[core] Do not attempt to fetch metadata if update_assets is not set
This commit is contained in:
parent
d3c2769014
commit
0610b07bf3
|
@ -194,7 +194,8 @@ class LegendaryCore:
|
|||
continue
|
||||
|
||||
game = self.lgd.get_game_meta(ga.app_name)
|
||||
if not game or (game and game.app_version != ga.build_version and not platform_override):
|
||||
if update_assets and (not game or
|
||||
(game and game.app_version != ga.build_version and not platform_override)):
|
||||
if game and game.app_version != ga.build_version and not platform_override:
|
||||
self.log.info(f'Updating meta for {game.app_name} due to build version mismatch')
|
||||
|
||||
|
|
Loading…
Reference in a new issue