From 54caa75c9fc6d6b80137adc3a8c392c472d171ee Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Tue, 14 Nov 2017 13:02:03 +0100 Subject: [PATCH] Update: CC - Before Render - Moorcow (72d6a2a3kc.js) 13 bytes modified --- 72d6a2a3kc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {