From a0fc6e41af599fa9bdfca671d9cfcfef7df5bcc7 Mon Sep 17 00:00:00 2001 From: Matthias Bilger Date: Sun, 22 Mar 2020 19:31:37 +0100 Subject: [PATCH] door wall --- ddimport.js | 2 +- module.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ddimport.js b/ddimport.js index d5a8a34..386e80c 100644 --- a/ddimport.js +++ b/ddimport.js @@ -114,7 +114,7 @@ class DDImporter { console.log(portalPoint1) console.log(portalPoint2) let wall = new Wall({ - c : [point1[0], point1[1], point2[0], point2[1]], + c : [portalPoint1[0], portalPoint1[1], portalPoint2[0], portalPoint2[1]], }); wall.data.door = CONST.WALL_DOOR_TYPES.DOOR walls.push(wall.data) diff --git a/module.json b/module.json index 197f6b0..1e70258 100644 --- a/module.json +++ b/module.json @@ -2,7 +2,7 @@ "name": "dd-import", "title": "DungeonDraft Importer", "description": "Imports scene elements from Dungeon Draft map files", - "version": "0.4.3", + "version": "0.4.4", "authors": [ { "name": "Moo Man"