From 50e5ca70301541c0411d34f023793bb35a2bf655 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 4 Jul 2005 23:41:33 +0000 Subject: [PATCH] matching SM_GainFocus and SM_LoseFocus --- stepmania/src/ScreenGameplay.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/stepmania/src/ScreenGameplay.cpp b/stepmania/src/ScreenGameplay.cpp index 76dddb2913..911ea29de3 100644 --- a/stepmania/src/ScreenGameplay.cpp +++ b/stepmania/src/ScreenGameplay.cpp @@ -2282,6 +2282,11 @@ void ScreenGameplay::HandleScreenMessage( const ScreenMessage SM ) SongFinished(); StageFinished( false ); } + else if( SM == SM_GainFocus ) + { + /* We do this ourself. */ + SOUND->HandleSongTimer( false ); + } else if( SM == SM_LoseFocus ) { /* We might have turned the song timer off. Be sure to turn it back on. */