fix TitleMenu fades to demo after pressing Start

This commit is contained in:
Chris Danford
2003-11-09 10:52:45 +00:00
parent 0ba4cc0c0e
commit 7bf6dfb631
+1 -1
View File
@@ -303,7 +303,7 @@ void ScreenTitleMenu::Input( const DeviceInput& DeviceI, const InputEventType ty
void ScreenTitleMenu::Update( float fDelta )
{
if(TimeToDemonstration.PeekDeltaTime() >= SECONDS_BEFORE_ATTRACT)
if( !m_Menu.IsTransitioning() && TimeToDemonstration.PeekDeltaTime() >= SECONDS_BEFORE_ATTRACT)
{
this->PostScreenMessage( SM_GoToAttractLoop, 0 );
TimeToDemonstration.GetDeltaTime();