From 60d6078e1fbe73aa6251a9b89a1b09d4c3148b38 Mon Sep 17 00:00:00 2001 From: NewSoupVi <57900059+NewSoupVi@users.noreply.github.com> Date: Mon, 7 Apr 2025 23:17:25 +0200 Subject: [PATCH] Wind Waker: Don't collect nonprogression #4826 --- worlds/tww/randomizers/Dungeons.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worlds/tww/randomizers/Dungeons.py b/worlds/tww/randomizers/Dungeons.py index 3a009f78..f1dc0d6c 100644 --- a/worlds/tww/randomizers/Dungeons.py +++ b/worlds/tww/randomizers/Dungeons.py @@ -254,7 +254,7 @@ def fill_dungeons_restrictive(multiworld: MultiWorld) -> None: in_dungeon_player_ids = {item.player for item in in_dungeon_items} all_state_base = CollectionState(multiworld) for item in multiworld.itempool: - multiworld.worlds[item.player].collect(all_state_base, item) + all_state_base.collect(item, prevent_sweep=True) pre_fill_items = [] for player in in_dungeon_player_ids: pre_fill_items += multiworld.worlds[player].get_pre_fill_items() @@ -265,7 +265,7 @@ def fill_dungeons_restrictive(multiworld: MultiWorld) -> None: # `pre_fill_items` should be a subset of `in_dungeon_items`, but just in case. pass for item in pre_fill_items: - multiworld.worlds[item.player].collect(all_state_base, item) + all_state_base.collect(item, prevent_sweep=True) all_state_base.sweep_for_advancements() # Remove the completion condition so that minimal-accessibility words place keys correctly.