Broadcast a message when native language display is toggled. Change the second arg for PlayerSelectMenu to SM_None, it doesn't seem to make a difference here.
This commit is contained in:
@@ -345,6 +345,7 @@ void ScreenSelectMusic::Input( const InputEventPlus &input )
|
|||||||
if( input.type != IET_FIRST_PRESS )
|
if( input.type != IET_FIRST_PRESS )
|
||||||
return;
|
return;
|
||||||
PREFSMAN->m_bShowNativeLanguage.Set( !PREFSMAN->m_bShowNativeLanguage );
|
PREFSMAN->m_bShowNativeLanguage.Set( !PREFSMAN->m_bShowNativeLanguage );
|
||||||
|
MESSAGEMAN->Broadcast( "ChangedLanguageDisplay" );
|
||||||
m_MusicWheel.RebuildWheelItems();
|
m_MusicWheel.RebuildWheelItems();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -409,7 +410,7 @@ void ScreenSelectMusic::Input( const InputEventPlus &input )
|
|||||||
{
|
{
|
||||||
if( input.type == IET_RELEASE && input.MenuI == GAME_BUTTON_SELECT )
|
if( input.type == IET_RELEASE && input.MenuI == GAME_BUTTON_SELECT )
|
||||||
{
|
{
|
||||||
SCREENMAN->AddNewScreenToTop( "ScreenPlayerOptions", SM_BackFromPlayerOptions );
|
SCREENMAN->AddNewScreenToTop( "ScreenPlayerOptions", SM_None );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user