Update game.html
Browse files
game.html
CHANGED
|
@@ -109,8 +109,9 @@ function create ()
|
|
| 109 |
function update ()
|
| 110 |
{
|
| 111 |
if (gameOver)
|
| 112 |
-
{
|
| 113 |
-
this.
|
|
|
|
| 114 |
this.scene.restart();
|
| 115 |
return;
|
| 116 |
}
|
|
|
|
| 109 |
function update ()
|
| 110 |
{
|
| 111 |
if (gameOver)
|
| 112 |
+
{
|
| 113 |
+
//this.registry.destroy();
|
| 114 |
+
//this.events.off();
|
| 115 |
this.scene.restart();
|
| 116 |
return;
|
| 117 |
}
|