fix a crash
This commit is contained in:
@@ -416,6 +416,8 @@ void ScreenOptions::HandleScreenMessage( const ScreenMessage SM )
|
|||||||
this->GoToNextState();
|
this->GoToNextState();
|
||||||
break;
|
break;
|
||||||
case SM_BeginFadingOut:
|
case SM_BeginFadingOut:
|
||||||
|
if(m_Menu.IsTransitioning())
|
||||||
|
return; /* already transitioning */
|
||||||
m_Menu.StartTransitioning( SM_GoToNextScreen );
|
m_Menu.StartTransitioning( SM_GoToNextScreen );
|
||||||
|
|
||||||
m_SoundStart.Play();
|
m_SoundStart.Play();
|
||||||
|
|||||||
Reference in New Issue
Block a user