diff --git a/2xswm1bwq8.js b/2xswm1bwq8.js index 1742c5b..fbe4886 100644 --- a/2xswm1bwq8.js +++ b/2xswm1bwq8.js @@ -1504,15 +1504,7 @@ GameLib.CustomCode.prototype.stopBlock = function() { GameLib.CustomCode.prototype.endGame = function() { - this.block.meshes.map( - function (mesh) { - this.scene.removeObject(mesh); - }.bind(this) - ); - - delete this.block; - - GameLib.Event.Emit( + GameLib.Event.Emit( GameLib.Event.GAME_OVER, { score: this.score,