Kruptein / PlanarAlly

A companion tool for when you travel into the planes.
https://www.planarally.io/
MIT License
395 stars 73 forks source link

[BUG] Updating trackers prevents other players from seeing them until refresh [dev] #1232

Closed rexy712 closed 1 year ago

rexy712 commented 1 year ago

Describe the bug Whenever the value of a tracker is modified, the name and max value of the tracker are hidden from every other player. The 'Display on Token' and 'Public' checkboxes also appear to be disabled if they were enabled before. If display on token is enabled, the bar above the token also disappears.
This also applies to Auras when modifying the Range or toggling on/off. Players lose vision of the aura around the token as well.
Reloading the page fixes the issues until the next change.

To Reproduce Steps to reproduce the behavior:

  1. Create a shape, give access to players.
  2. Create a tracker, name it.
  3. Have the controlling player modify the tracker value.
  4. Others lose sight as soon as the value is updated.

Expected behavior Tracker updates should be visible without refresh.

Screenshots GM/any other player on the left, controlling player on the right.

https://user-images.githubusercontent.com/2442544/224791448-28126cba-4508-40b7-a3e7-661d0b7e44b1.mp4

Desktop: