Omnibus commited on
Commit
f6adef1
1 Parent(s): db2909f

Update game.html

Browse files
Files changed (1) hide show
  1. game.html +5 -5
game.html CHANGED
@@ -161,11 +161,11 @@ function hitBomb (player, bomb)
161
  gameOver = true;
162
 
163
  var mainCamera = this.cameras.main
164
- mainCamera.shake(250)
165
- mainCamera.fadeOut(6000)
166
- mainCamera.on('camerafadeoutcomplete', function () {
167
- this.scene.restart();
168
- })
169
  }
170
  </script>
171
  <div>
 
161
  gameOver = true;
162
 
163
  var mainCamera = this.cameras.main
164
+ mainCamera.shake(250);
165
+ mainCamera.fadeOut(6000);
166
+ ///mainCamera.on('camerafadeoutcomplete', function () {
167
+ this.scene.restart();
168
+
169
  }
170
  </script>
171
  <div>