We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ddbe6d commit e5b410fCopy full SHA for e5b410f
src/building.js
@@ -422,7 +422,7 @@ class Building {
422
partIsInside(part) {
423
const shape = part.shape;
424
for (const vector of shape.extractPoints().shape) {
425
- if (BuildingShapeUtils.surrounds(this.outerShape, [vector.x, vector.y])) {
+ if (BuildingShapeUtils.surrounds(this.outerElement.shape, [vector.x, vector.y])) {
426
return true;
427
}
428
0 commit comments