diff --git a/DoorShuffle.py b/DoorShuffle.py index c8ccb54d..922142f4 100644 --- a/DoorShuffle.py +++ b/DoorShuffle.py @@ -488,6 +488,7 @@ def connect_portal(portal, world, player): chosen_door = world.get_door(portal_entrance.name, player) chosen_door.blocked = False connect_door_only(world, chosen_door, portal_region, player) + portal_entrance.parent_region.entrances.append(edit_entrance) # todo: remove this? @@ -505,6 +506,7 @@ def connect_portal_copy(portal, world, player): chosen_door = world.get_door(portal_entrance.name, player) chosen_door.blocked = False connect_door_only(world, chosen_door, portal_region, player) + portal_entrance.parent_region.entrances.append(edit_entrance) def find_portal_candidates(door_list, dungeon, need_passage=False, dead_end_allowed=False, crossed=False, bk_shuffle=False): diff --git a/DungeonGenerator.py b/DungeonGenerator.py index 7c52e0f7..d14715b2 100644 --- a/DungeonGenerator.py +++ b/DungeonGenerator.py @@ -619,7 +619,7 @@ def stonewall_valid(stonewall): return False # you can get stuck from an entrance else: door = entrance.door - if door is not None and door != stonewall and not door.blocked and parent not in visited: + if (door is None or (door != stonewall and not door.blocked)) and parent not in visited: visited.add(parent) queue.append(parent) # we didn't find anything bad diff --git a/Main.py b/Main.py index 4b34e9e2..cbdae934 100644 --- a/Main.py +++ b/Main.py @@ -25,7 +25,7 @@ from Fill import distribute_items_cutoff, distribute_items_staleness, distribute from ItemList import generate_itempool, difficulties, fill_prizes, fill_specific_items from Utils import output_path, parse_player_names -__version__ = '0.2.0.19u' +__version__ = '0.2.0.20u' class EnemizerError(RuntimeError): pass diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 08b76c36..d6d71f52 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -93,6 +93,8 @@ testing to verify logic is all good. # Bug Fixes +* 2.0.20u + * Problem with Desert Wall not being pre-opened in intensity 3 fixed * 2.0.19u * Generation improvement * Possible fix for shop vram corruption