fix LockInputSecs not being set correctly, and pressing Start early would choose without starting SM_GoToNextScreen
This commit is contained in:
@@ -183,7 +183,7 @@ void ScreenSelect::HandleScreenMessage( const ScreenMessage SM )
|
|||||||
|
|
||||||
SCREENMAN->RefreshCreditsMessages();
|
SCREENMAN->RefreshCreditsMessages();
|
||||||
|
|
||||||
if( !IsTransitioning() )
|
ASSERT( !IsTransitioning() );
|
||||||
StartTransitioningScreen( SM_GoToNextScreen );
|
StartTransitioningScreen( SM_GoToNextScreen );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -269,9 +269,10 @@ void ScreenSelectMaster::BeginScreen()
|
|||||||
|
|
||||||
this->UpdateSelectableChoices();
|
this->UpdateSelectableChoices();
|
||||||
|
|
||||||
m_fLockInputSecs = this->GetTweenTimeLeft();
|
|
||||||
|
|
||||||
ScreenSelect::BeginScreen();
|
ScreenSelect::BeginScreen();
|
||||||
|
|
||||||
|
// Call GetTweenTimeLeft after the base BeginScreen has started the in Transition.
|
||||||
|
m_fLockInputSecs = this->GetTweenTimeLeft();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScreenSelectMaster::HandleScreenMessage( const ScreenMessage SM )
|
void ScreenSelectMaster::HandleScreenMessage( const ScreenMessage SM )
|
||||||
|
|||||||
Reference in New Issue
Block a user