fixed typo

This commit is contained in:
2020-03-22 22:58:00 +01:00
parent be27a82a5a
commit 27bffa107f
2 changed files with 2 additions and 2 deletions

View File

@@ -102,7 +102,7 @@ class DDImporter {
let ddWalls = file.world.levels[level].walls[index]
let ddPointString = ddWalls.points;
let points = ddPointString.substring(18, ddPointString.length-2).split(", ").map(a => Number(a))
if (dd.loop){
if (ddWalls.loop){
points = points.concat(points.slice(0,2))
}
for(let i = 0; i < points.length-3; i+=2)

View File

@@ -2,7 +2,7 @@
"name": "dd-import",
"title": "DungeonDraft Importer",
"description": "Imports scene elements from Dungeon Draft map files",
"version": "0.4.18",
"version": "0.4.19",
"authors": [
{
"name": "Moo Man"