diff --git a/72d6a2a3kc.js b/72d6a2a3kc.js index 18659dd..bedf757 100644 --- a/72d6a2a3kc.js +++ b/72d6a2a3kc.js @@ -213,7 +213,7 @@ if (this.mouseIsDown) { mesh.name.indexOf('Stone') === -1 //stones ) { - if (mesh.name.indexOf('Trees') === -1) { + if (mesh.materials[0].name.indexOf('Trees') === -1) { mesh.instance.material.color.sub(this.toBlack); if (mesh.instance.material.color.r <= 0) { if (mesh.instance.material.emissive) {