Skip to content

Conversation

@deathbeam
Copy link
Contributor

Return placeholder value when checking default state

Signed-off-by: Tomas Slusny slusnucky@gmail.com

Description of the problem being solved:

Currently code thinks that the default state is 0 when saving numbers, this means when i am changing placeholder for for example lightning pen from 5 to 0 it wont save and then dissapears on reload.

Steps taken to verify a working solution:

  • Set enemy to Guardian/Pinnacle Boss
  • Set enemy lightning pen to 0
  • Save build
  • Close build
  • Reopen build
  • Enemy lightning pen is still 0

Return placeholder value when checking default state

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
@QuickStick123 QuickStick123 added the bug Something isn't working label Jul 11, 2022
Copy link
Member

@Wires77 Wires77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Wires77 Wires77 merged commit 48dfeb4 into PathOfBuildingCommunity:dev Jul 11, 2022
@deathbeam deathbeam deleted the fix-placeholder branch July 11, 2022 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants