Fixed Houlihan error in ER on subsequent generations
This commit is contained in:
@@ -14,6 +14,7 @@ def link_entrances(world, player):
|
|||||||
invFlag = world.mode[player] == 'inverted'
|
invFlag = world.mode[player] == 'inverted'
|
||||||
|
|
||||||
global entrance_pool, exit_pool, ignore_pool, suppress_spoiler
|
global entrance_pool, exit_pool, ignore_pool, suppress_spoiler
|
||||||
|
links_house = False
|
||||||
entrance_pool = Entrance_Pool_Base.copy()
|
entrance_pool = Entrance_Pool_Base.copy()
|
||||||
exit_pool = Exit_Pool_Base.copy()
|
exit_pool = Exit_Pool_Base.copy()
|
||||||
drop_connections = default_drop_connections.copy()
|
drop_connections = default_drop_connections.copy()
|
||||||
@@ -509,10 +510,12 @@ def link_entrances(world, player):
|
|||||||
|
|
||||||
# ensure Houlihan exits where Links House does
|
# ensure Houlihan exits where Links House does
|
||||||
# TODO: Plando should overrule this
|
# TODO: Plando should overrule this
|
||||||
for links_house in world.get_entrance('Links House Exit', player).connected_region.exits:
|
if not links_house:
|
||||||
if links_house.connected_region and links_house.connected_region.name == 'Links House':
|
for links_house in world.get_entrance('Links House Exit', player).connected_region.exits:
|
||||||
break
|
if links_house.connected_region and links_house.connected_region.name == 'Links House':
|
||||||
connect_exit(world, 'Chris Houlihan Room Exit', links_house.name, player)
|
links_house = links_house.name
|
||||||
|
break
|
||||||
|
connect_exit(world, 'Chris Houlihan Room Exit', links_house, player)
|
||||||
ignore_pool = True
|
ignore_pool = True
|
||||||
|
|
||||||
# check for swamp palace fix
|
# check for swamp palace fix
|
||||||
|
|||||||
Reference in New Issue
Block a user