reset timer on con or join
This commit is contained in:
@@ -51,6 +51,9 @@ void ScreenContinue::BeginScreen()
|
||||
|
||||
void ScreenContinue::Input( const InputEventPlus &input )
|
||||
{
|
||||
if( input.MenuI == MENU_BUTTON_COIN && input.type == IET_FIRST_PRESS )
|
||||
ResetTimer();
|
||||
|
||||
if( input.MenuI == MENU_BUTTON_START && input.type == IET_FIRST_PRESS && GAMESTATE->JoinInput(input.pn) )
|
||||
{
|
||||
bool bAllPlayersAreEnabled = true;
|
||||
@@ -65,6 +68,10 @@ void ScreenContinue::Input( const InputEventPlus &input )
|
||||
if( !IsTransitioning() )
|
||||
StartTransitioningScreen( SM_GoToNextScreen );
|
||||
}
|
||||
else
|
||||
{
|
||||
ResetTimer();
|
||||
}
|
||||
return; // handled
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user