From 0db16603693ddfd95032fcb7a77d8ff0168cbd3a Mon Sep 17 00:00:00 2001 From: Fabian Dill Date: Thu, 31 Mar 2022 04:54:35 +0200 Subject: [PATCH] MultiServer: fix crash when hint_location hits a location that can exist, but did not exist in this multiworld. --- MultiServer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MultiServer.py b/MultiServer.py index 22203472..dccb959f 100644 --- a/MultiServer.py +++ b/MultiServer.py @@ -851,7 +851,7 @@ def collect_hint_location_name(ctx: Context, team: int, slot: int, location: str def collect_hint_location_id(ctx: Context, team: int, slot: int, seeked_location: int) -> typing.List[NetUtils.Hint]: result = ctx.locations[slot].get(seeked_location, (None, None, None)) - if result: + if any(result): item_id, receiving_player, item_flags = result found = seeked_location in ctx.location_checks[team, slot]