mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Fix generation failure if aga tower door was placed on HC ledge in inverted dungeonsfull
This commit is contained in:
@@ -1151,8 +1151,7 @@ def link_inverted_entrances(world, player):
|
||||
hc_ledge_must_exit = hc_ledge_entrances.pop()
|
||||
lw_entrances.remove(hc_ledge_must_exit)
|
||||
lw_dungeon_entrances_must_exit.append(hc_ledge_must_exit)
|
||||
|
||||
if aga_door in lw_entrances:
|
||||
elif aga_door in lw_entrances:
|
||||
lw_entrances.remove(aga_door)
|
||||
else:
|
||||
dw_entrances.remove(aga_door)
|
||||
@@ -1395,10 +1394,9 @@ def link_inverted_entrances(world, player):
|
||||
hc_ledge_must_exit = hc_ledge_entrances.pop()
|
||||
lw_entrances.remove(hc_ledge_must_exit)
|
||||
lw_must_exits.append(hc_ledge_must_exit)
|
||||
|
||||
if aga_door in lw_entrances:
|
||||
elif aga_door in lw_entrances:
|
||||
lw_entrances.remove(aga_door)
|
||||
elif aga_door in dw_entrances:
|
||||
else:
|
||||
dw_entrances.remove(aga_door)
|
||||
|
||||
connect_two_way(world, aga_door, 'Inverted Agahnims Tower Exit', player)
|
||||
|
||||
Reference in New Issue
Block a user