Update: CC - Before Render - Moorcow (zo950m57cc.js) 69 bytes modified

beta.r3js.org
-=yb4f310 2017-11-26 23:41:35 +01:00
parent 41c30766de
commit 219ee697ad
1 changed files with 2 additions and 1 deletions

View File

@ -786,6 +786,7 @@
mesh.burnLife -= 0.1 * data.delta; mesh.burnLife -= 0.1 * data.delta;
if (mesh.burnLife < 0) { if (mesh.burnLife < 0) {
mesh.burnLife = 0; mesh.burnLife = 0;
this.burn(mesh);
} }
mesh.instance.material.color.setRGB( mesh.instance.material.color.setRGB(
@ -805,7 +806,7 @@
0 0
); );
} }
if (mesh.explodeLife <= 0) { if (mesh.explodeLife <= 0) {
this.explode(mesh); this.explode(mesh);
} }