Skip to content

Fix #256 Pet's Anchor Parent not saving#257

Open
Blade3112 wants to merge 1 commit intoDaleHuntGB:masterfrom
Blade3112:master
Open

Fix #256 Pet's Anchor Parent not saving#257
Blade3112 wants to merge 1 commit intoDaleHuntGB:masterfrom
Blade3112:master

Conversation

@Blade3112
Copy link
Copy Markdown

@Blade3112 Blade3112 commented Feb 23, 2026

Fix AnchorParent reset on relog

When clearing AnchorParent in the GUI, it was being saved as nil.
On reload/login, this caused AceDB to fall back to the default ("UUF_PLAYER").

This change persists an empty string instead of nil, preventing default restoration while preserving existing fallback behavior to UIParent.

Tested:

  • Clearing AnchorParent
  • Reload UI
  • Full logout/login
  • Pet frame no longer resets

Save a blank string to the Anchor Parent in stead of a nil. Nil is seen as not filled in and the default is then loaded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant