Update game.html
Browse files
game.html
CHANGED
@@ -163,7 +163,7 @@ function hitBomb (player, bomb)
|
|
163 |
var mainCamera = this.cameras.main
|
164 |
mainCamera.shake(250);
|
165 |
mainCamera.fadeOut(3000);
|
166 |
-
sleep(2000).then(() => { this.scene.
|
167 |
}
|
168 |
</script>
|
169 |
<div>
|
|
|
163 |
var mainCamera = this.cameras.main
|
164 |
mainCamera.shake(250);
|
165 |
mainCamera.fadeOut(3000);
|
166 |
+
sleep(2000).then(() => { this.scene.restart(); });
|
167 |
}
|
168 |
</script>
|
169 |
<div>
|