Clients: allow games without datapackage (#978)

This commit is contained in:
alwaysintreble
2022-08-29 17:16:13 -05:00
committed by GitHub
parent 3eb9e7050f
commit 45fb735320

View File

@@ -345,6 +345,8 @@ class CommonContext:
cache_package = Utils.persistent_load().get("datapackage", {}).get("games", {})
needed_updates: typing.Set[str] = set()
for game in relevant_games:
if game not in remote_datepackage_versions:
continue
remote_version: int = remote_datepackage_versions[game]
if remote_version == 0: # custom datapackage for this game