diff --git a/src/building.js b/src/building.js index 34814f3..d11a299 100644 --- a/src/building.js +++ b/src/building.js @@ -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()); }