door wall

This commit is contained in:
2020-03-22 19:31:37 +01:00
parent 34a9317110
commit a0fc6e41af
2 changed files with 2 additions and 2 deletions

View File

@@ -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)