From aa1180e0aaf94c2fbcc602bd7eff4049423b5be9 Mon Sep 17 00:00:00 2001 From: NewSoupVi <57900059+NewSoupVi@users.noreply.github.com> Date: Sun, 16 Feb 2025 21:18:13 +0100 Subject: [PATCH] Fix get_hint not checking for finding_player --- MultiServer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MultiServer.py b/MultiServer.py index 51b72c93ad..2fe20566b7 100644 --- a/MultiServer.py +++ b/MultiServer.py @@ -783,7 +783,7 @@ class Context: def get_hint(self, team: int, finding_player: int, seeked_location: int) -> typing.Optional[Hint]: for hint in self.hints[team, finding_player]: - if hint.location == seeked_location: + if hint.location == seeked_location and hint.finding_player == finding_player: return hint return None