Update: CC - Bacon - Entity Loaded (2xswm1bwq8.js) 152 bytes modified
parent
d59a4074cc
commit
d8e47617f6
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue