From 1c93db414f1b7ffd306c5e144000d12729d1552f Mon Sep 17 00:00:00 2001 From: compiling <8335770+compiling@users.noreply.github.com> Date: Thu, 29 Apr 2021 19:38:52 +1000 Subject: [PATCH] Fix inverted Aga Tower handling --- EntranceShuffle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EntranceShuffle.py b/EntranceShuffle.py index 22db9e03..34d482b3 100644 --- a/EntranceShuffle.py +++ b/EntranceShuffle.py @@ -1958,7 +1958,7 @@ def connect_mandatory_exits(world, entrances, caves, must_be_exits, player): # Handle inverted Aga Tower - if it depends on connections, then so does Hyrule Castle Ledge if world.mode[player] == 'inverted': for entrance in invalid_connections: - if world.get_entrance(entrance, player).connected_region == world.get_region('Inverted Agahnims Tower', player): + if world.get_entrance(entrance, player).connected_region == world.get_region('Agahnims Tower Portal', player): for exit in invalid_connections[entrance]: invalid_connections[exit] = invalid_connections[exit].union({'Inverted Ganons Tower', 'Hyrule Castle Entrance (West)', 'Hyrule Castle Entrance (East)'}) break