From 3fa77f83f8cbba2530a2fe2bc534cc23d9249fb1 Mon Sep 17 00:00:00 2001 From: Eligarf Date: Thu, 4 Apr 2024 17:39:41 -0700 Subject: [PATCH] Fixed the mangled door import code --- ChangeLog.md | 3 +++ scripts/engine.js | 4 ++-- scripts/systems/dnd5e.js | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog.md b/ChangeLog.md index d189397..ce9a309 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,3 +1,6 @@ +# v3.14.4 +* Fixed the mangled door import code + # v3.14.3 * Dnd5e: Forgot to add checks to `basicSight` in vision-5e diff --git a/scripts/engine.js b/scripts/engine.js index c60a181..717ad4a 100644 --- a/scripts/engine.js +++ b/scripts/engine.js @@ -1,5 +1,5 @@ import { Stealthy } from "./stealthy.js"; -import StealthyDoors from "./doors.js"; +import Doors from "./doors.js"; export default class Engine { @@ -46,7 +46,7 @@ export default class Engine { ); if (game.settings.get(Stealthy.MODULE_ID, 'spotSecretDoors')) { - StealthyDoors.initialize(); + Doors.initialize(); } } diff --git a/scripts/systems/dnd5e.js b/scripts/systems/dnd5e.js index 648a751..dc024f0 100644 --- a/scripts/systems/dnd5e.js +++ b/scripts/systems/dnd5e.js @@ -1,5 +1,6 @@ import { Stealthy } from '../stealthy.js'; import Engine from '../engine.js'; +import Doors from "../doors.js"; class Engine5e extends Engine { @@ -161,7 +162,7 @@ class Engine5e extends Engine { ); if (game.settings.get(Stealthy.MODULE_ID, 'spotSecretDoors')) { - StealthyDoors.initialize(); + Doors.initialize(); } }