From cb58c0756ffe9a458ce88418b4d61de0facaa639 Mon Sep 17 00:00:00 2001 From: Matthias Bilger Date: Sun, 22 Mar 2020 19:32:47 +0100 Subject: [PATCH] updated to --- ddimport.js | 4 ++-- module.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ddimport.js b/ddimport.js index 386e80c..ff99639 100644 --- a/ddimport.js +++ b/ddimport.js @@ -126,8 +126,8 @@ class DDImporter { console.log('yes'); console.log(this.getNearerPoint(point1, [portalPoint1, portalPoint2])); console.log(this.getNearerPoint(point2, [portalPoint1, portalPoint2])); - topoint1 = this.getNearerPoint(point1, [portalPoint1, portalPoint2]); - topoint2 = this.getNearerPoint(point2, [portalPoint1, portalPoint2]); + let topoint1 = this.getNearerPoint(point1, [portalPoint1, portalPoint2]); + let topoint2 = this.getNearerPoint(point2, [portalPoint1, portalPoint2]); let wall1 = new Wall({ c : [ point1[0], diff --git a/module.json b/module.json index 1e70258..c6a5540 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.4", + "version": "0.4.5", "authors": [ { "name": "Moo Man"