reset timer on con or join

This commit is contained in:
Glenn Maynard
2007-04-18 00:26:33 +00:00
parent a8a4803ed8
commit 638361e840
+7
View File
@@ -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
}