From 255768044ba4d907b2a070286e4a87d068fb1d33 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Wed, 15 Nov 2017 19:35:28 +0100 Subject: [PATCH] Update: CC - Before Render - Moorcow (7p8dxknb7m.js) 127 bytes modified --- 7p8dxknb7m.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/7p8dxknb7m.js b/7p8dxknb7m.js index 5fbc351..66697a3 100644 --- a/7p8dxknb7m.js +++ b/7p8dxknb7m.js @@ -17,11 +17,11 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) { this.scene = this.entityLoaded.scene; this.smokeParticleEngine = this.entityLoaded.smokeParticleEngine; this.fireParticleEngine = this.entityLoaded.fireParticleEngine; + this.burningTreeParticleEngine = this.entityLoaded.burningTreeParticleEngine; this.toBlack = new THREE.Color(0.05, 0.05, 0.05); this.toRed = new THREE.Color(0.02, 0, 0); - this.bull.instance.visible = false; this.star.instance.visible = false; this.burger.instance.visible = false; @@ -233,11 +233,11 @@ if (GameLib.Utils.UndefinedOrNull(this.initialized)) { mesh.smokeParticleEngine = smokeParticleEngine; - var fireParticleEngine = this.fireParticleEngine.clone(); - fireParticleEngine.position = mesh.position.clone(); - fireParticleEngine.updateInstance('position'); - fireParticleEngine.enabled = true; - mesh.fireParticleEngine = fireParticleEngine; + var burningTreeParticleEngine = this.burningTreeParticleEngine.clone(); + burningTreeParticleEngine.position = mesh.position.clone(); + burningTreeParticleEngine.updateInstance('position'); + burningTreeParticleEngine.enabled = true; + mesh.burningTreeParticleEngine = burningTreeParticleEngine; } } }