mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Pre-select current game in world creation dialog
This commit is contained in:
parent
80874391b8
commit
2cf76f6f1b
3 changed files with 16 additions and 5 deletions
|
@ -1274,7 +1274,7 @@ bool GUIMainMenu::OnEvent(const SEvent& event)
|
|||
} else {
|
||||
CreateWorldDest *dest = new CreateWorldDestMainMenu(this);
|
||||
GUICreateWorld *menu = new GUICreateWorld(env, parent, -1,
|
||||
menumgr, dest, games);
|
||||
menumgr, dest, games, m_data->selected_game);
|
||||
menu->drop();
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue