Skip to content

Commit f659e8a

Browse files
committed
Fix location name being used instead of location
1 parent 34c86d0 commit f659e8a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Hints.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1555,8 +1555,9 @@ def build_world_gossip_hints(spoiler: Spoiler, world: World, checked_locations:
15551555

15561556
# Add user-specified hinted item locations if using a built-in hint distribution
15571557
# Raise error if hint copies is zero
1558-
for location, kinds in checked_locations.items():
1558+
for location_name, kinds in checked_locations.items():
15591559
if CheckedKind.ALWAYS in kinds:
1560+
location = world.get_location(location_name)
15601561
if location.item.name in bingoBottlesForHints and world.settings.hint_dist == 'bingo':
15611562
always_item = 'Bottle'
15621563
else:

0 commit comments

Comments
 (0)