Skip to content
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

[emtpy-bin] fix emptying carried containers #947

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

myk002
Copy link
Member

@myk002 myk002 commented Jan 15, 2024

it was using the container position directly instead of calling dfhack.items.getPosition, so carried items (which may have incorrect or invalid positions) was messing up the logic.

as referenced on Reddit: https://www.reddit.com/r/dwarffortress/comments/195llnp/comment/khwp7xq/?utm_source=share&utm_medium=web2x&context=3

@myk002 myk002 merged commit 6c80200 into DFHack:master Jan 15, 2024
10 checks passed
@myk002 myk002 deleted the myk_empty_bin branch January 15, 2024 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant