Unwrap. Also make start only trigger on the first press. Without this, alt-enter will start the song.
This commit is contained in:
@@ -453,8 +453,9 @@ void ScreenSelectMusic::Input( const InputEventPlus &input )
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if( input.type == IET_FIRST_PRESS )
|
if( input.type != IET_FIRST_PRESS )
|
||||||
{
|
return;
|
||||||
|
|
||||||
if( CodeDetector::EnteredEasierDifficulty(input.GameI.controller) )
|
if( CodeDetector::EnteredEasierDifficulty(input.GameI.controller) )
|
||||||
{
|
{
|
||||||
if( GAMESTATE->IsAnExtraStage() )
|
if( GAMESTATE->IsAnExtraStage() )
|
||||||
@@ -494,12 +495,9 @@ void ScreenSelectMusic::Input( const InputEventPlus &input )
|
|||||||
MESSAGEMAN->Broadcast( "SongOptionsChanged" );
|
MESSAGEMAN->Broadcast( "SongOptionsChanged" );
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
switch( input.MenuI )
|
if( input.MenuI == MENU_BUTTON_START )
|
||||||
{
|
MenuStart( input );
|
||||||
case MENU_BUTTON_START: MenuStart( input ); break;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScreenSelectMusic::UpdateSelectButton()
|
void ScreenSelectMusic::UpdateSelectButton()
|
||||||
|
|||||||
Reference in New Issue
Block a user