Clients: fix clients not requesting Archipelago DataPackage updates unless spectator is present.

This commit is contained in:
Fabian Dill 2022-06-20 22:30:46 +02:00 committed by Fabian Dill
parent 68674deb00
commit 3fec33f56c
1 changed files with 3 additions and 0 deletions

View File

@ -328,6 +328,9 @@ class CommonContext:
remote_datepackage_versions: typing.Dict[str, int]): remote_datepackage_versions: typing.Dict[str, int]):
"""Validate that all data is present for the current multiworld. """Validate that all data is present for the current multiworld.
Download, assimilate and cache missing data from the server.""" Download, assimilate and cache missing data from the server."""
# by documentation any game can use Archipelago locations/items -> always relevant
relevant_games.add("Archipelago")
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: