Spaces:
Runtime error
Runtime error
Update game.html
Browse files
game.html
CHANGED
|
@@ -110,9 +110,6 @@ function update ()
|
|
| 110 |
{
|
| 111 |
if (gameOver)
|
| 112 |
{
|
| 113 |
-
//this.registry.destroy();
|
| 114 |
-
//this.events.off();
|
| 115 |
-
this.scene.restart();
|
| 116 |
return;
|
| 117 |
}
|
| 118 |
if (cursors.left.isDown)
|
|
|
|
| 110 |
{
|
| 111 |
if (gameOver)
|
| 112 |
{
|
|
|
|
|
|
|
|
|
|
| 113 |
return;
|
| 114 |
}
|
| 115 |
if (cursors.left.isDown)
|