Skip to content

set source.amount to the actual amount - #3526

Merged
IntegratedQuantum merged 1 commit into
PixelGuys:masterfrom
Wunka:fix-moveToBag
Aug 16, 2026
Merged

set source.amount to the actual amount#3526
IntegratedQuantum merged 1 commit into
PixelGuys:masterfrom
Wunka:fix-moveToBag

Conversation

@Wunka

@Wunka Wunka commented Aug 16, 2026

Copy link
Copy Markdown
Contributor

Fixes #3516
The code thought that info.amount is always >= than source.amount as it seems. But as seen through #3516 it sometimes sends moveToBag with amount 0, this also seems to make #3515 more likely, when picking items up + shit clicking into bag)

@Wunka Wunka moved this to Easy to Review in PRs to review Aug 16, 2026
@IntegratedQuantum
IntegratedQuantum merged commit cca65f1 into PixelGuys:master Aug 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Bag shift+left click: item lost

2 participants