Update: CC - Before Render - Moorcow (72d6a2a3kc.js) 81 bytes modified

beta.r3js.org
-=yb4f310 2017-11-14 16:40:34 +01:00
parent 9b8f08b5bc
commit f3ae71c169
1 changed files with 1 additions and 6 deletions

View File

@ -329,12 +329,7 @@ this.enemies = this.enemies.reduce(
/**
* Do only a mesh remove, otherwise we also remove the material
*/
GameLib.Event.Emit(
GameLib.Event.REMOVE_COMPONENT,
{
component : enemy.mesh
}
);
enemy.mesh.remove();
} else {
result.push(enemy);
}