mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Clients: allow games without datapackage (#978)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user