Omnibus commited on
Commit
67ac371
·
1 Parent(s): d3eae36

Update game.html

Browse files
Files changed (1) hide show
  1. game.html +1 -1
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
- mainCamera.once('camerafadeoutcomplete', this.input.on('pointerdown', () => this.scene.restart()));
167
 
168
  //this.registry.destroy();
169
  //this.events.off();
 
163
  var mainCamera = this.cameras.main
164
  mainCamera.shake(250);
165
  mainCamera.fadeOut(3000);
166
+ mainCamera.once('camerafadeoutcomplete', this.scene.restart());
167
 
168
  //this.registry.destroy();
169
  //this.events.off();