From d8e47617f6fb5031fb970d7af40ebc06891d7fda Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Sun, 18 Feb 2018 13:24:21 +0100 Subject: [PATCH] Update: CC - Bacon - Entity Loaded (2xswm1bwq8.js) 152 bytes modified --- 2xswm1bwq8.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) 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,