WBHarry / pf2e-bestiary-tracking

A Foundry VTT Module to let players keep track monster information and statistics for the PF2E system
MIT License
5 stars 4 forks source link

Avatar Menu sometimes gets toggled to revealed with new updates #129

Closed Iankid closed 2 weeks ago

Iankid commented 1 month ago

Every once in a while, when a new update comes out, I have to go through the bestiary for any NPCs I've hidden to art for, cause I've been finding them suddenly revealed.

WBHarry commented 1 month ago

Hm. Curious. I haven't noticed this, but then again I haven't actually been using the feature too much in my games so far.

I'll see if I can spot something weird in the code. 🤔

Iankid commented 4 weeks ago

Hmmm. Doesn't seem to be limited to module update causing it. I couldn't repeat it, but had it happen with an NPC I added background text for. I left, the server auto shutdown (Forge), and when I logged back in, their art was revealed. attempted to repeat this process (with the only difference being a manual shutdown), but it remained hidden. So not sure what caused it.

WBHarry commented 3 weeks ago

I might have solved the issue.

I released v1.1.12. I noticed that if you refresh a Bestiary Entry, then some auxilliary data such as the AvatarImageState got lost. Now the setting, such as 'outline' gets retained.

WBHarry commented 2 weeks ago

Considering this issue resolved. If the issue pops up again, feel free to open a new issue 😸