We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e53643f commit 1f2ab9eCopy full SHA for 1f2ab9e
src/building.js
@@ -418,8 +418,8 @@ class Building {
418
*/
419
partIsInside(part) {
420
const shape = part.shape;
421
- for(point of shape.extractPoints().shape) {
422
- if (BuildingPartUtils.surrounds(this.outerShape(point))) {
+ for (const point of shape.extractPoints().shape) {
+ if (BuildingShapeUtils.surrounds(this.outerShape(point))) {
423
return true;
424
}
425
0 commit comments