Fix issue where Spectacle Rock Cave could erroneously be used twice to place mandatory exits, despite only having one guaranteed reachable exit.
This commit is contained in:
parent
034715c4e1
commit
c82f325748
|
@ -360,8 +360,9 @@ def link_entrances(world):
|
||||||
candidate = None
|
candidate = None
|
||||||
for cave in cavelist:
|
for cave in cavelist:
|
||||||
if isinstance(cave, tuple) and len(cave) > 1:
|
if isinstance(cave, tuple) and len(cave) > 1:
|
||||||
# special handling: TRock has two entries that we should consider entrance only
|
# special handling: TRock and Spectracle Rock cave have two entries that we should consider entrance only
|
||||||
if cave[0] == 'Turtle Rock Exit (Front)' and len(cave) == 2:
|
# ToDo this should be handled in a more sensible manner
|
||||||
|
if cave[0] in ['Turtle Rock Exit (Front)', 'Spectacle Rock Cave Exit (Peak)'] and len(cave) == 2:
|
||||||
continue
|
continue
|
||||||
candidate = cave
|
candidate = cave
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue