Skip to content

Commit 20047dc

Browse files
authored
Update BuildingShapeUtils.js
1 parent d97f22e commit 20047dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extras/BuildingShapeUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class BuildingShapeUtils extends ShapeUtils {
3333
if (nodes[0][0] === nodes[elements.length - 1][0] && nodes[0][1] === nodes[elements.length - 1][1]) {
3434
nodes.pop();
3535
}
36-
const first = true;
36+
let first = true;
3737
for (const node of nodes) {
3838
// The first node requires a different function call.
3939
if (first) {

0 commit comments

Comments
 (0)