diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/guiMainMenu.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/guiMainMenu.cpp b/src/guiMainMenu.cpp index 4ee153d3f..77a5c161e 100644 --- a/src/guiMainMenu.cpp +++ b/src/guiMainMenu.cpp @@ -866,9 +866,10 @@ bool GUIMainMenu::OnEvent(const SEvent& event) { switch(event.GUIEvent.Caller->getID()) { - case GUI_ID_WORLD_LISTBOX: + case GUI_ID_WORLD_LISTBOX: acceptInput(); - m_data->address = L""; // Force local game + if(getTab() != TAB_SINGLEPLAYER) + m_data->address = L""; // Force local game quitMenu(); return true; } |