fix double Off command. Let SWME handle SM_MenuTimer
This commit is contained in:
@@ -763,11 +763,7 @@ void ScreenEvaluation::Input( const InputEventPlus &input )
|
|||||||
|
|
||||||
void ScreenEvaluation::HandleScreenMessage( const ScreenMessage SM )
|
void ScreenEvaluation::HandleScreenMessage( const ScreenMessage SM )
|
||||||
{
|
{
|
||||||
if( SM == SM_MenuTimer )
|
if( SM == SM_PlayCheer )
|
||||||
{
|
|
||||||
HandleMenuStart();
|
|
||||||
}
|
|
||||||
else if( SM == SM_PlayCheer )
|
|
||||||
{
|
{
|
||||||
SOUND->PlayOnceFromDir( ANNOUNCER->GetPathTo("evaluation cheer") );
|
SOUND->PlayOnceFromDir( ANNOUNCER->GetPathTo("evaluation cheer") );
|
||||||
}
|
}
|
||||||
@@ -803,6 +799,9 @@ void ScreenEvaluation::MenuBack( const InputEventPlus &input )
|
|||||||
|
|
||||||
void ScreenEvaluation::MenuStart( const InputEventPlus &input )
|
void ScreenEvaluation::MenuStart( const InputEventPlus &input )
|
||||||
{
|
{
|
||||||
|
if( IsTransitioning() )
|
||||||
|
return;
|
||||||
|
|
||||||
m_soundStart.Play();
|
m_soundStart.Play();
|
||||||
|
|
||||||
HandleMenuStart();
|
HandleMenuStart();
|
||||||
|
|||||||
Reference in New Issue
Block a user