From 1c9199761b85619538489f5fd4132e505787d240 Mon Sep 17 00:00:00 2001 From: Alchav <59858495+Alchav@users.noreply.github.com> Date: Fri, 29 Sep 2023 14:23:46 -0400 Subject: [PATCH] LTTP: Key Drop Shuffle fix for dungeon state item removal (#2232) --- worlds/alttp/Dungeons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worlds/alttp/Dungeons.py b/worlds/alttp/Dungeons.py index 045969be..630d61e0 100644 --- a/worlds/alttp/Dungeons.py +++ b/worlds/alttp/Dungeons.py @@ -255,7 +255,7 @@ def fill_dungeons_restrictive(multiworld: MultiWorld): if all_state_base.has("Triforce", player): all_state_base.remove(multiworld.worlds[player].create_item("Triforce")) - for (player, key_drop_shuffle) in enumerate(multiworld.key_drop_shuffle.values(), start=1): + for (player, key_drop_shuffle) in multiworld.key_drop_shuffle.items(): if not key_drop_shuffle and player not in multiworld.groups: for key_loc in key_drop_data: key_data = key_drop_data[key_loc]