From 5dc0d9232eee87d9b5cc36d0a7420ad41ebbc489 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Fri, 17 Nov 2017 15:18:36 +0100 Subject: [PATCH] Update: CC - Before Render - Moorcow (080g209iov.js) 145 bytes modified --- 080g209iov.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/080g209iov.js b/080g209iov.js index eeba9ec..3362500 100644 --- a/080g209iov.js +++ b/080g209iov.js @@ -327,11 +327,15 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) { if (mesh.position.x < 0) { this.leftLight.intensity += 0.1; - this.leftLight.color.r += 0.05; this.leftLight.color.g -= 0.05; this.leftLight.color.b -= 0.05; this.leftLight.updateInstance('intensity'); this.leftLight.updateInstance('color'); + } else { + this.rightLight.intensity += 0.1; + this.rightLight.color.b -= 0.05; + this.rightLight.updateInstance('intensity'); + this.rightLight.updateInstance('color'); } // var smokeParticleEngine = this.smokeParticleEngine.clone();