Update: CC - Before Render - Moorcow (autqzs1rvq.js) 71 bytes modified
parent
e0523d47fc
commit
5e2a7b900d
|
@ -62,6 +62,7 @@
|
|||
this.scene.meshes.map(
|
||||
function(mesh) {
|
||||
if (mesh.burningTreeParticleEngine) {
|
||||
mesh.burning = false;
|
||||
mesh.burningTreeParticleEngine.remove();
|
||||
mesh.burningTreeParticleEngine = null;
|
||||
}
|
||||
|
@ -447,18 +448,19 @@
|
|||
* Do nothing, this tree is burning
|
||||
*/
|
||||
} else {
|
||||
|
||||
GameLib.Event.Emit(
|
||||
GameLib.Event.GAME_DATA,
|
||||
{
|
||||
event : 'treeBurned'
|
||||
}
|
||||
);
|
||||
|
||||
mesh.burning = true;
|
||||
|
||||
this.treesBurning++;
|
||||
|
||||
GameLib.Event.Emit(
|
||||
GameLib.Event.GAME_DATA,
|
||||
{
|
||||
event : 'treeBurned',
|
||||
treesBurning : this.treesBurning
|
||||
}
|
||||
);
|
||||
|
||||
this.minimumRendererRed += 0.01;
|
||||
|
||||
if (mesh.position.x < 0) {
|
||||
|
|
Loading…
Reference in New Issue