mirror of
https://github.com/RandomityGuy/MBHaxe.git
synced 2025-10-30 08:11:25 +00:00
force input name
This commit is contained in:
parent
d6f84b43f5
commit
b4b6e256ed
1 changed files with 6 additions and 2 deletions
|
|
@ -75,8 +75,12 @@ class MainMenuGui extends GuiImage {
|
|||
if (MPCustoms.missionList.length == 0) {
|
||||
cast(this.parent, Canvas).pushDialog(new MessageBoxOkDlg("Custom levels not loaded yet, please wait."));
|
||||
MPCustoms.loadMissionList();
|
||||
} else
|
||||
cast(this.parent, Canvas).setContent(new MultiplayerGui());
|
||||
} else {
|
||||
if (StringTools.trim(Settings.highscoreName) == "" || Settings.highscoreName == "Player") {
|
||||
MarbleGame.canvas.setContent(new EnterNameDlg());
|
||||
} else
|
||||
cast(this.parent, Canvas).setContent(new MultiplayerGui());
|
||||
}
|
||||
});
|
||||
// btnList.addButton(2, "Leaderboards", (e) -> {}, 20);
|
||||
btnList.addButton(2, "Achievements", (e) -> {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue