Skip to content

Commit

Permalink
Update multibuildingpart.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Beakerboy authored May 8, 2024
1 parent be7afee commit c9631bd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/multibuildingpart.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ class MultiBuildingPart extends BuildingPart {
xy[0] = xy[0].concat(newXy[0]);
xy[1] = xy[1].concat(newXy[1]);
}

const x = xy[0];
const y = xy[1];
window.printError("Multibuilding x: " + x);
window.printError("Multibuilding y: " + y);
window.printError('Multibuilding x: ' + x);
window.printError('Multibuilding y: ' + y);
const widths = Math.max(Math.max(...x) - Math.min(...x), Math.max(...y) - Math.min(...y));
window.printError("Multibuilding Width: " + widths);
window.printError('Multibuilding Width: ' + widths);
return widths;
}
}
Expand Down

0 comments on commit c9631bd

Please sign in to comment.