diff --git a/main.js b/main.js index 42e5375..ea0568d 100644 --- a/main.js +++ b/main.js @@ -50,6 +50,8 @@ Hooks.on("canvasReady", () => { // If door type has been changed, tint the door accordingly Hooks.on("updateWall", (scene, wall, update) => { + if (!game.settings.get(settingsKey, "highlightSecretDoors")) + return const types = CONST.WALL_DOOR_TYPES if (wall.door === types.NONE) return