Skip to content

Commit

Permalink
Update building.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Beakerboy authored Dec 4, 2024
1 parent cb26f5c commit 33fef97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/building.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ class Building {
render() {
const mesh = [];
if (this.parts.length > 0) {
this.outerElement.options.building.visible = false;
mesh.push(...this.outerElement.render())
for (let i = 0; i < this.parts.length; i++) {
mesh.push(...this.parts[i].render());
}
Expand Down

0 comments on commit 33fef97

Please sign in to comment.