Describe the bug
Reset Doors and Fog functionality only works if all doors are already closed. The "Close Open Doors" functionality in the Wall Controls Layer does not work at all.
If all doors are closed, the function to reset fog functions, and it shows pop-ups showing that "Doors have been shut."
In both cases if one or more doors is open, the following error is thrown:
resetdoorsandfog.js:22 Uncaught (in promise) TypeError: item.update is not a function
[Detected 1 package: foundryvtt-arms-reach]
at resetdoorsandfog.js:22
at Array.forEach (<anonymous>)
at Object.resetDoors (resetdoorsandfog.js:22)
at Object.onClick (Hooks.js:64)
at SceneControls._onClickTool (foundry.js:51380)
at HTMLLIElement.dispatch (jquery.min.js:2)
at HTMLLIElement.v.handle (jquery.min.js:2)
To Reproduce
Steps to reproduce the behavior:
Install fresh world
Enable Arm's Reach + libWrapper
Expected behavior
Open Doors should be closed (and Fog of War exploration reset, when using this option)
Screenshots
Browser:
Built-in Foundry browser
Foundry Version: v9 Build 238
Game System: PF2E 3.1.3.9639
Additional context
Add any other context (like other modules installed) about the problem here.
Module Version: v2.1.6
Describe the bug Reset Doors and Fog functionality only works if all doors are already closed. The "Close Open Doors" functionality in the Wall Controls Layer does not work at all.
If all doors are closed, the function to reset fog functions, and it shows pop-ups showing that "Doors have been shut."
In both cases if one or more doors is open, the following error is thrown:
To Reproduce Steps to reproduce the behavior:
Expected behavior Open Doors should be closed (and Fog of War exploration reset, when using this option)
Screenshots
Browser:
Foundry Version: v9 Build 238
Game System: PF2E 3.1.3.9639
Additional context Add any other context (like other modules installed) about the problem here.