mirror of
https://github.com/derrod/legendary.git
synced 2025-01-03 04:45:28 +00:00
parent
3ea394937b
commit
e97941327e
|
@ -197,6 +197,9 @@ class LegendaryCore:
|
||||||
self.egs.get_game_assets(platform=platform_override)]
|
self.egs.get_game_assets(platform=platform_override)]
|
||||||
|
|
||||||
if not self.lgd.assets or update_assets:
|
if not self.lgd.assets or update_assets:
|
||||||
|
# if not logged in, return empty list
|
||||||
|
if not self.egs.user:
|
||||||
|
return []
|
||||||
self.lgd.assets = [GameAsset.from_egs_json(a) for a in self.egs.get_game_assets()]
|
self.lgd.assets = [GameAsset.from_egs_json(a) for a in self.egs.get_game_assets()]
|
||||||
|
|
||||||
return self.lgd.assets
|
return self.lgd.assets
|
||||||
|
|
Loading…
Reference in a new issue