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

Fix error when toggling 'Include Enchants' checkbox in trader #7572

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

teroshan
Copy link

@teroshan teroshan commented Apr 14, 2024

  • Fix error when toggling 'Include Enchants' in trader

Fixes #6216

Description of the problem being solved:

Lua Error when toggling 'Include Enchants' in trader

Steps taken to verify a working solution:

  • Open trader, 'Trade for these items'
  • Activate Session Mode
  • Use trader to 'Find best' on weapon
  • Check 'Include Enchants' checkbox -> ERROR

Link to a build that showcases this PR:

Any build will do

Before screenshot:

See linked issue #6216

After screenshot:

No error

It seems like the UpdateControlsWithItems() has been refactored right
when this checkbox has been added, changing the expected argument
format.

No other callers use the obsolete arguments.

Fixes PathOfBuildingCommunity#6216
@teroshan teroshan force-pushed the fix_trader_enchant_checkbox branch from 467df64 to 99b7524 Compare April 14, 2024 22:57
@Paliak Paliak added the crash Causes PoB to crash and is High Priority label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash Causes PoB to crash and is High Priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Trade function bug
2 participants