Update game.html
Browse files
game.html
CHANGED
@@ -115,7 +115,7 @@ function update ()
|
|
115 |
this.registry.destroy();
|
116 |
this.events.off();
|
117 |
this.scene.restart();
|
118 |
-
|
119 |
}
|
120 |
if (cursors.left.isDown)
|
121 |
{
|
|
|
115 |
this.registry.destroy();
|
116 |
this.events.off();
|
117 |
this.scene.restart();
|
118 |
+
return;
|
119 |
}
|
120 |
if (cursors.left.isDown)
|
121 |
{
|