mirror of
https://github.com/minetest/minetest.git
synced 2025-04-10 12:21:29 +02:00
Do not clear address in main menu if starting a singleplayer game by double clicking the world
This commit is contained in:
@ -868,6 +868,7 @@ bool GUIMainMenu::OnEvent(const SEvent& event)
|
||||
{
|
||||
case GUI_ID_WORLD_LISTBOX:
|
||||
acceptInput();
|
||||
if(getTab() != TAB_SINGLEPLAYER)
|
||||
m_data->address = L""; // Force local game
|
||||
quitMenu();
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user