Skip to content

Commit

Permalink
Fixed the mangled door import code
Browse files Browse the repository at this point in the history
  • Loading branch information
Eligarf committed Apr 5, 2024
1 parent fed0cbd commit 3fa77f8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 3 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions scripts/engine.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Stealthy } from "./stealthy.js";
import StealthyDoors from "./doors.js";
import Doors from "./doors.js";

export default class Engine {

Expand Down Expand Up @@ -46,7 +46,7 @@ export default class Engine {
);

if (game.settings.get(Stealthy.MODULE_ID, 'spotSecretDoors')) {
StealthyDoors.initialize();
Doors.initialize();
}
}

Expand Down
3 changes: 2 additions & 1 deletion scripts/systems/dnd5e.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Stealthy } from '../stealthy.js';
import Engine from '../engine.js';
import Doors from "../doors.js";

class Engine5e extends Engine {

Expand Down Expand Up @@ -161,7 +162,7 @@ class Engine5e extends Engine {
);

if (game.settings.get(Stealthy.MODULE_ID, 'spotSecretDoors')) {
StealthyDoors.initialize();
Doors.initialize();
}
}

Expand Down

0 comments on commit 3fa77f8

Please sign in to comment.