From 55e52a2d03d97f264a17af84a67dd92a167bdd1c Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Tue, 14 Nov 2017 09:21:49 +0100 Subject: [PATCH] Update: CC - Before Render - Moorcow (72d6a2a3kc.js) 4 bytes modified --- 72d6a2a3kc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/72d6a2a3kc.js b/72d6a2a3kc.js index a3f5ad3..a859946 100644 --- a/72d6a2a3kc.js +++ b/72d6a2a3kc.js @@ -170,7 +170,7 @@ this.spawnTime += data.delta; if (this.mouseIsDown) { - this.fog.color += 0.01; + this.fog.color.r += 0.01; if (this.fog.color.r > 1) { this.fog.color.r = 1; } @@ -223,7 +223,7 @@ if (this.mouseIsDown) { } this.renderer.updateInstance('clearColor'); - this.fog.color -= 0.01; + this.fog.color.r -= 0.01; if (this.fog.color.r < 0) { this.fog.color.r = 0; }