LTTP: Key Drop Shuffle fix for dungeon state item removal (#2232)

This commit is contained in:
Alchav 2023-09-29 14:23:46 -04:00 committed by GitHub
parent 368fa64914
commit 1c9199761b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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]