diff options
Diffstat (limited to 'src/guiMainMenu.cpp')
-rw-r--r-- | src/guiMainMenu.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/guiMainMenu.cpp b/src/guiMainMenu.cpp index 2d02c0295..6c5d6553c 100644 --- a/src/guiMainMenu.cpp +++ b/src/guiMainMenu.cpp @@ -261,13 +261,13 @@ bool GUIMainMenu::OnEvent(const SEvent& event) case 257: // Start game acceptInput(); quitMenu(); - break; + return true; case 260: // Delete map // Don't accept input data, just set deletion request m_data->delete_map = true; m_accepted = true; quitMenu(); - break; + return true; } } if(event.GUIEvent.EventType==gui::EGET_EDITBOX_ENTER) @@ -277,7 +277,7 @@ bool GUIMainMenu::OnEvent(const SEvent& event) case 256: case 257: case 258: acceptInput(); quitMenu(); - break; + return true; } } } |