Skip to content

LADX: Fix force_start_item sometimes placing a different copy of the item than it is removing from the itempool #5110

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 16, 2025

Conversation

NewSoupVi
Copy link
Member

itempool.remove checks the "weak equality" defined in Item.__eq__. This means that this part of the code is potentially removing a different copy of the start item from the itempool than it is placing, leaving a placed item in the itempool and removing an unplaced item.

This is probably bad & fails this new assert that I want to add: #5109

@NewSoupVi
Copy link
Member Author

@threeandthreee

@github-actions github-actions bot added the waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. label Jun 13, 2025
@NewSoupVi NewSoupVi added is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs. waiting-on: core-review Issue/PR has been peer-reviewed and is ready to be merged or needs input from a core maintainer. and removed waiting-on: peer-review Issue/PR has not been reviewed by enough people yet. labels Jun 13, 2025
@NewSoupVi NewSoupVi merged commit 9246659 into ArchipelagoMW:main Jun 16, 2025
16 checks passed
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: core-review Issue/PR has been peer-reviewed and is ready to be merged or needs input from a core maintainer.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants