Update game.html
Browse files
game.html
CHANGED
@@ -164,7 +164,7 @@ function hitBomb (player, bomb)
|
|
164 |
mainCamera.shake(250);
|
165 |
mainCamera.fadeOut(3000);
|
166 |
mainCamera.once('camerafadeoutcomplete', function () {
|
167 |
-
this.registry.destroy();
|
168 |
this.events.off();
|
169 |
this.input.on('pointerdown', () => this.scene.restart());
|
170 |
});
|
|
|
164 |
mainCamera.shake(250);
|
165 |
mainCamera.fadeOut(3000);
|
166 |
mainCamera.once('camerafadeoutcomplete', function () {
|
167 |
+
//this.registry.destroy();
|
168 |
this.events.off();
|
169 |
this.input.on('pointerdown', () => this.scene.restart());
|
170 |
});
|