From 638361e84023f7589f24560ed3004c7b832c3ac2 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 18 Apr 2007 00:26:33 +0000 Subject: [PATCH] reset timer on con or join --- stepmania/src/ScreenContinue.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/stepmania/src/ScreenContinue.cpp b/stepmania/src/ScreenContinue.cpp index b7c0bf8db9..c98d193a50 100644 --- a/stepmania/src/ScreenContinue.cpp +++ b/stepmania/src/ScreenContinue.cpp @@ -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 }