From ef793fef7118ee060be4dc597aa2728664ec9440 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Tue, 14 Nov 2017 13:01:30 +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 bedf757..18659dd 100644 --- a/72d6a2a3kc.js +++ b/72d6a2a3kc.js @@ -213,7 +213,7 @@ if (this.mouseIsDown) { mesh.name.indexOf('Stone') === -1 //stones ) { - if (mesh.materials[0].name.indexOf('Trees') === -1) { + if (mesh.name.indexOf('Trees') === -1) { mesh.instance.material.color.sub(this.toBlack); if (mesh.instance.material.color.r <= 0) { if (mesh.instance.material.emissive) {