Fixed Standard mode to exclude Flute exits from traversal logic

This commit is contained in:
codemann8
2021-08-18 09:23:13 -05:00
parent ec327ca5a9
commit 621e6442ce

View File

@@ -1868,7 +1868,7 @@ def find_accessible_entrances(world, player, builder):
connect = ext.connected_region
if connect is None or ext.door and ext.door.blocked:
continue
if world.mode[player] == 'standard' and builder.name == 'Hyrule Castle' and ext.name in ['Hyrule Castle Main Gate (North)', 'Top of Pyramid (Inner)', 'Inverted Pyramid Entrance' ]:
if world.mode[player] == 'standard' and builder.name == 'Hyrule Castle' and (ext.name.startswith('Flute From') or ext.name in ['Hyrule Castle Main Gate (North)', 'Top of Pyramid (Inner)', 'Inverted Pyramid Entrance']):
continue
if connect.name in entrances and connect not in visited_entrances:
visited_entrances.append(connect.name)