From 40b5c5f4a24e48fc88b805052fb48601cfa520b3 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Fri, 3 Nov 2017 10:14:46 +0100 Subject: [PATCH] Update: Custom Code - BK Flame - Before Render (dywmtohrda.js) 7 bytes modified --- dywmtohrda.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dywmtohrda.js b/dywmtohrda.js index 2d99211..67e4bd4 100644 --- a/dywmtohrda.js +++ b/dywmtohrda.js @@ -145,7 +145,7 @@ this.flames.map( function(flame, index) { flame.mesh.position.add(flame.direction); flame.mesh.updateInstancePosition(); - flame.mesh.instance.renderOrder = index; + //flame.mesh.instance.renderOrder = index; } ); @@ -171,7 +171,7 @@ if (this.spawningBullets === true) { console.log('start: ', start); console.log('end: ', end); - //this.meshFireBall.renderOrder = 1000 - this.flames.length; + this.meshFireBall.renderOrder = this.flames.length; var flameMesh = this.meshFireBall.clone(); flameMesh.position.x = start.x;