diff --git a/stepmania/src/ScreenGameplay.cpp b/stepmania/src/ScreenGameplay.cpp index b8273fb471..9a39d9ce94 100644 --- a/stepmania/src/ScreenGameplay.cpp +++ b/stepmania/src/ScreenGameplay.cpp @@ -902,6 +902,8 @@ ScreenGameplay::~ScreenGameplay() bool ScreenGameplay::IsLastSong() { + if( WORKOUTMAN->m_pCurWorkout != NULL && GAMESTATE->m_bWorkoutGoalComplete ) + return true; if( GAMESTATE->m_pCurCourse && GAMESTATE->m_pCurCourse->m_bRepeat ) return false; return GAMESTATE->GetCourseSongIndex() >= (int)m_apSongsQueue.size()-1; // GetCourseSongIndex() is 0-based