foundryvtt icon indicating copy to clipboard operation
foundryvtt copied to clipboard

Changing door mode from 'both' to 'left/right' makes door control invisible and prevents perception update

Open Fyorl opened this issue 2 years ago • 1 comments

Originally reported by Dick K#6417 https://discord.com/channels/170995199584108546/956306859491471420/1031216176820404224

ALL MODULES DISABLED? true
OS, Hosting, Browser (if applicable): Win10, Self, Chrome
Short Description of bug: Changing direction of door from Both to either Left/Right renders the door icon invisible. Icon remains invisible if door changed back to Both.
Simple steps to reproduce the bug: Note: tested on Simple World Building. Original effect seen on Call of Cthulhu (Unofficial) 0.9.1.

  1. Create a door with direction: Both. Save. Observe door icon is visible.
  2. Edit door to direction: Left or Right. Save. Observe icon is invisible.
  3. Edit door to direction: Both. Save. Observe icon is still invisible.

In addition, while icon is invisible, does not reset areas lit through open door with door state closed. Not to be confused with Fog Exploration.

Requires F5 restart to render icon visible again and reset lit areas..

Fyorl avatar Oct 17 '22 11:10 Fyorl

I was able to reproduce the issue with the door control not redrawing, but I wasn't able to reproduce the behaviour of vision seemingly not updating. It's possible the wall direction was such that it looked like vision was not being blocked when it was actually being correctly allowed through based on direction.

Fyorl avatar Oct 17 '22 16:10 Fyorl