Fixed error with placing Old Man cave in ER
This commit is contained in:
@@ -403,6 +403,7 @@ def do_old_man_cave_exit(entrances, exits, avail, cross_world):
|
|||||||
else:
|
else:
|
||||||
region_name = 'West Dark Death Mountain (Top)'
|
region_name = 'West Dark Death Mountain (Top)'
|
||||||
om_cave_options = list(get_accessible_entrances(region_name, avail, [], cross_world, True, True, True, True))
|
om_cave_options = list(get_accessible_entrances(region_name, avail, [], cross_world, True, True, True, True))
|
||||||
|
om_cave_options = [e for e in om_cave_options if e in avail.entrances]
|
||||||
if avail.swapped:
|
if avail.swapped:
|
||||||
om_cave_options = [e for e in om_cave_options if e not in Forbidden_Swap_Entrances]
|
om_cave_options = [e for e in om_cave_options if e not in Forbidden_Swap_Entrances]
|
||||||
assert len(om_cave_options), 'No available entrances left to place Old Man Cave'
|
assert len(om_cave_options), 'No available entrances left to place Old Man Cave'
|
||||||
|
|||||||
Reference in New Issue
Block a user