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 crash on unusable weapon swap #6300

Merged

Conversation

Lilylicious
Copy link
Contributor

Fixes #6210

Description of the problem being solved:

When changing weapons between usable and unusable weapons for a given active skill, a crash would occur when the cache contained nil data for speed. This simply adds a fallback 0 for both stats, which never causes any problems because they're always hidden by skill cannot be used.

Link to a build that showcases this PR:

https://pobb.in/xwrfjKa9XBJ0

Steps to reproduce error and test solution

  • Import above build
  • Change weapon to any one handed axe (or any weapon that cannot be used with Lightning Arrow or Kinetic Blast)

@QuickStick123 QuickStick123 added the crash Causes PoB to crash and is High Priority label Aug 9, 2023
@LocalIdentity LocalIdentity merged commit 6aa25c0 into PathOfBuildingCommunity:dev Aug 13, 2023
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.

One handed unique bug
3 participants