diff --git a/72d6a2a3kc.js b/72d6a2a3kc.js index bc55606..0c5f7de 100644 --- a/72d6a2a3kc.js +++ b/72d6a2a3kc.js @@ -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); }