From fb70433e0e3ee01e3eb3122bd50ae7000cd5f072 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 23 Feb 2004 08:51:03 +0000 Subject: [PATCH] fix choosing a disabled selection (editor with no songs) results in options not responding --- stepmania/src/ScreenTitleMenu.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stepmania/src/ScreenTitleMenu.cpp b/stepmania/src/ScreenTitleMenu.cpp index 6bf2a75fd2..2fcf156125 100644 --- a/stepmania/src/ScreenTitleMenu.cpp +++ b/stepmania/src/ScreenTitleMenu.cpp @@ -245,9 +245,6 @@ void ScreenTitleMenu::Input( const DeviceInput& DeviceI, const InputEventType ty m_Menu.Back( SM_GoToAttractLoop ); break; case MENU_BUTTON_START: - if( !Screen::JoinInput( DeviceI, type, GameI, MenuI, StyleI ) ) - return; - /* return if the choice is invalid */ const ModeChoice &mc = m_aModeChoices[m_Choice]; CString why; @@ -259,6 +256,9 @@ void ScreenTitleMenu::Input( const DeviceInput& DeviceI, const InputEventType ty return; } + if( !Screen::JoinInput( DeviceI, type, GameI, MenuI, StyleI ) ) + return; + if( !m_Menu.m_Out.IsTransitioning() ) m_Menu.StartTransitioning( SM_GoToNextScreen ); }