fixed typo
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user