fix accepting input after pressing start if it comes in the same update
(test case: F2, enter, enter)
This commit is contained in:
@@ -189,7 +189,7 @@ void ScreenSelectStyle::MenuRight( PlayerNumber pn )
|
|||||||
void ScreenSelectStyle::MenuStart( PlayerNumber pn )
|
void ScreenSelectStyle::MenuStart( PlayerNumber pn )
|
||||||
{
|
{
|
||||||
m_soundSelect.Play();
|
m_soundSelect.Play();
|
||||||
SCREENMAN->PostMessageToTopScreen( SM_AllDoneChoosing, 0 );
|
SCREENMAN->SendMessageToTopScreen( SM_AllDoneChoosing );
|
||||||
|
|
||||||
const ModeChoice& mc = m_aModeChoices[GetSelectionIndex(pn)];
|
const ModeChoice& mc = m_aModeChoices[GetSelectionIndex(pn)];
|
||||||
SOUND->PlayOnceFromDir( ANNOUNCER->GetPathTo(ssprintf("%s comment %s",m_sName.c_str(),mc.m_sName.c_str())) );
|
SOUND->PlayOnceFromDir( ANNOUNCER->GetPathTo(ssprintf("%s comment %s",m_sName.c_str(),mc.m_sName.c_str())) );
|
||||||
|
|||||||
Reference in New Issue
Block a user