Clients: allow games without datapackage (#978)
This commit is contained in:
parent
3eb9e7050f
commit
45fb735320
|
@ -345,6 +345,8 @@ class CommonContext:
|
||||||
cache_package = Utils.persistent_load().get("datapackage", {}).get("games", {})
|
cache_package = Utils.persistent_load().get("datapackage", {}).get("games", {})
|
||||||
needed_updates: typing.Set[str] = set()
|
needed_updates: typing.Set[str] = set()
|
||||||
for game in relevant_games:
|
for game in relevant_games:
|
||||||
|
if game not in remote_datepackage_versions:
|
||||||
|
continue
|
||||||
remote_version: int = remote_datepackage_versions[game]
|
remote_version: int = remote_datepackage_versions[game]
|
||||||
|
|
||||||
if remote_version == 0: # custom datapackage for this game
|
if remote_version == 0: # custom datapackage for this game
|
||||||
|
|
Loading…
Reference in New Issue