Update: CC - Bacon - Entity Loaded (2xswm1bwq8.js) 152 bytes modified
parent
d59a4074cc
commit
d8e47617f6
|
@ -1504,14 +1504,6 @@ GameLib.CustomCode.prototype.stopBlock = function() {
|
||||||
|
|
||||||
GameLib.CustomCode.prototype.endGame = 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,
|
GameLib.Event.GAME_OVER,
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue