From 61257b12b4a4cf1bfd2e0a6a694b9987ba53a9cc Mon Sep 17 00:00:00 2001 From: CookieCat <81494827+CookieCat45@users.noreply.github.com> Date: Mon, 13 May 2024 14:39:34 -0400 Subject: [PATCH] Update worlds/ahit/DeathWishLocations.py Co-authored-by: Aaron Wagener --- worlds/ahit/DeathWishLocations.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/worlds/ahit/DeathWishLocations.py b/worlds/ahit/DeathWishLocations.py index 8f8a41c29a..631edd3598 100644 --- a/worlds/ahit/DeathWishLocations.py +++ b/worlds/ahit/DeathWishLocations.py @@ -195,10 +195,9 @@ def create_dw_regions(world: "HatInTimeWorld"): world.dw_shuffle = dw_shuffle prev_dw = dw_map - for i in range(len(dw_shuffle)): - name = dw_shuffle[i] - dw = create_region(world, name) - connect_regions(prev_dw, dw, f"{prev_dw.name} -> {name}", world.player) + for death_wish_name in dw_shuffle: + dw = create_region(world, death_wish_name) + prev_dw.connect(dw) create_dw_locations(world, dw) prev_dw = dw else: