fix bug causing songs to never be hinted

This commit is contained in:
espeon65536
2021-09-07 18:23:27 -05:00
committed by Fabian Dill
parent bc8e8c5daf
commit 890f71a477

View File

@@ -1257,7 +1257,7 @@ def hintExclusions(world, clear_cache=False):
world.hint_exclusions = []
for location in world.get_locations():
if location.locked or location.excluded:
if (location.locked and (location.item.type != 'Song' or world.shuffle_song_items != 'song')) or location.excluded:
world.hint_exclusions.append(location.name)
world_location_names = [