Update: CC - Bacon - Entity Loaded (2xswm1bwq8.js) 152 bytes modified

beta.r3js.org
-=yb4f310 2018-02-18 13:24:21 +01:00
parent d59a4074cc
commit d8e47617f6
1 changed files with 1 additions and 9 deletions

View File

@ -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,