OoT: Fix region_has_shortcuts crash when boss shuffle is on (#1325)

This commit is contained in:
espeon65536
2022-12-13 00:34:17 -06:00
committed by GitHub
parent 51c6be047f
commit 47f1fcf382
2 changed files with 9 additions and 8 deletions

View File

@@ -365,9 +365,9 @@ class HintArea(Enum):
return parent_region.alt_hint
return parent_region.hint
spot_queue.extend(list(filter(lambda ent: ent not in already_checked, parent_region.entrances)))
spot_queue.extend(filter(lambda ent: ent not in already_checked, parent_region.entrances))
raise HintAreaNotFound('No hint area could be found for %s [World %d]' % (spot, spot.world.player))
raise HintAreaNotFound('No hint area could be found for %s [World %d]' % (spot, spot.player))
@classmethod
def for_dungeon(cls, dungeon_name: str):