Omnibus commited on
Commit
9afd7d6
1 Parent(s): cd2b34c

Update game.html

Browse files
Files changed (1) hide show
  1. game.html +2 -2
game.html CHANGED
@@ -160,8 +160,8 @@ function hitBomb (player, bomb)
160
  player.anims.play('turn');
161
  gameOver = true;
162
 
163
- var manCamera = this.cameras.main
164
- manCamera.shake(250)
165
  mainCamera.on('camerafadeoutcomplete', function () {
166
  this.scene.start('GameOver');
167
  })
 
160
  player.anims.play('turn');
161
  gameOver = true;
162
 
163
+ var mainCamera = this.cameras.main
164
+ mainCamera.shake(250)
165
  mainCamera.on('camerafadeoutcomplete', function () {
166
  this.scene.start('GameOver');
167
  })