From d20ade7ff8503dcb005c25d2c66059c92d208ef0 Mon Sep 17 00:00:00 2001 From: CaitSith2 Date: Wed, 22 Jun 2022 16:18:36 -0700 Subject: [PATCH] Automatically allow spectator slots to see all hints. --- MultiServer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MultiServer.py b/MultiServer.py index 36c9cee005..e8cd0df8ef 100644 --- a/MultiServer.py +++ b/MultiServer.py @@ -568,9 +568,9 @@ def notify_hints(ctx: Context, team: int, hints: typing.List[NetUtils.Hint], onl concerns[hint.finding_player].append(data) for slot, clients in ctx.clients[team].items(): if not clients or slot == hint.finding_player or slot in ctx.slot_set(hint.receiving_player) or \ - all(["ShowAllHints" not in client.tags for client in clients]): + (ctx.games[slot] != "Archipelago" and all(["ShowAllHints" not in client.tags for client in clients])): continue - for client in [client for client in clients if "ShowAllHints" in client.tags]: + for client in [client for client in clients if "ShowAllHints" in client.tags or ctx.games[slot] == "Archipelago"]: all_hints[client].append(data) # remember hints in all cases if not hint.found: