Omnibus commited on
Commit
dfe3de5
1 Parent(s): d3c3f57

Update game.html

Browse files
Files changed (1) hide show
  1. game.html +1 -8
game.html CHANGED
@@ -163,14 +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.scene.start(scene));
167
-
168
- //this.registry.destroy();
169
- //this.events.off();
170
-
171
-
172
-
173
-
174
  }
175
  </script>
176
  <div>
 
163
  var mainCamera = this.cameras.main
164
  mainCamera.shake(250);
165
  mainCamera.fadeOut(3000);
166
+ sleep(2000).then(() => { this.scene.start(scene); });
 
 
 
 
 
 
 
167
  }
168
  </script>
169
  <div>