mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
Return to replay center after watching a replay
This commit is contained in:
parent
d2323a3811
commit
7b45fde2bc
1 changed files with 2 additions and 3 deletions
|
|
@ -1,5 +1,6 @@
|
|||
package src;
|
||||
|
||||
import gui.ReplayCenterGui;
|
||||
import gui.ReplayNameDlg;
|
||||
import collision.Collision;
|
||||
import shapes.MegaMarble;
|
||||
|
|
@ -1163,9 +1164,7 @@ class MarbleWorld extends Scheduler {
|
|||
}
|
||||
this.setCursorLock(false);
|
||||
this.dispose();
|
||||
var pmg = new PlayMissionGui();
|
||||
PlayMissionGui.currentSelectionStatic = mission.index + 1;
|
||||
MarbleGame.canvas.setContent(pmg);
|
||||
MarbleGame.canvas.setContent(new ReplayCenterGui());
|
||||
#if js
|
||||
var pointercontainer = js.Browser.document.querySelector("#pointercontainer");
|
||||
pointercontainer.hidden = false;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue