Skip to content

SMZ3: Fix removing items after sweeping state in pre_fill - #6348

Open
Mysteryem wants to merge 1 commit into
ArchipelagoMW:mainfrom
Mysteryem:patch-22
Open

SMZ3: Fix removing items after sweeping state in pre_fill#6348
Mysteryem wants to merge 1 commit into
ArchipelagoMW:mainfrom
Mysteryem:patch-22

Conversation

@Mysteryem

Copy link
Copy Markdown
Contributor

What is this fixing or adding?

SMZ3 would produce an 'all state' for dungeon filling purposes, but it would remove its dungeon items from the state after the state had already swept to pick up reachable items, meaning that the state could have collected items that were only reachable because the dungeon items were still collected into the state.

This has been fixed by only performing the sweep after the dungeon items have been removed.

The deprecated use_cache argument passed to get_all_state(), that no longer does anything since its deprecation, has also been removed.

How was this tested?

Only by running the unit tests

SMZ3 would produce an 'all state' for dungeon filling purposes, but it would remove its dungeon items from the state *after* the state had already swept to pick up reachable items, meaning that the state could have collected items that were only reachable because the dungeon items were still collected into the state.

This has been fixed by only performing the sweep after the dungeon items have been removed.
@github-actions github-actions Bot added the waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. label Jul 20, 2026
@duckboycool duckboycool added is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs. waiting-on: world-maintainer Issue/PR is waiting for feedback or approval by the maintainer of a world. labels Jul 20, 2026
@Mysteryem

Copy link
Copy Markdown
Contributor Author

@lordlou

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs. waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. waiting-on: world-maintainer Issue/PR is waiting for feedback or approval by the maintainer of a world.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants