Update: CC - Before Render - Moorcow (zo950m57cc.js) 12 bytes modified
parent
219ee697ad
commit
31b3b78c72
|
@ -783,7 +783,7 @@
|
||||||
|
|
||||||
if (material.name.indexOf('Trees') === -1) {
|
if (material.name.indexOf('Trees') === -1) {
|
||||||
|
|
||||||
mesh.burnLife -= 0.1 * data.delta;
|
mesh.burnLife -= data.delta;
|
||||||
if (mesh.burnLife < 0) {
|
if (mesh.burnLife < 0) {
|
||||||
mesh.burnLife = 0;
|
mesh.burnLife = 0;
|
||||||
this.burn(mesh);
|
this.burn(mesh);
|
||||||
|
@ -796,7 +796,7 @@
|
||||||
);
|
);
|
||||||
|
|
||||||
if (mesh.burnLife <= 0) {
|
if (mesh.burnLife <= 0) {
|
||||||
mesh.explodeLife -= 0.1 * data.delta;
|
mesh.explodeLife -= data.delta;
|
||||||
if (mesh.explodeLife < 0) {
|
if (mesh.explodeLife < 0) {
|
||||||
mesh.explodeLife = 0;
|
mesh.explodeLife = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue