From b51450b50c3a0c225220edfcf3c41dbb2dd6ceef Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sat, 8 May 2004 08:19:01 +0000 Subject: [PATCH] don't show locked songs in percent complete table --- stepmania/src/ProfileHtml.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stepmania/src/ProfileHtml.cpp b/stepmania/src/ProfileHtml.cpp index c1971ed68e..8a3411d649 100644 --- a/stepmania/src/ProfileHtml.cpp +++ b/stepmania/src/ProfileHtml.cpp @@ -792,6 +792,8 @@ bool PrintPercentCompleteForStepsType( RageFile &f, const Profile *pProfile, Ste if( pSong->m_SelectionDisplay == Song::SHOW_NEVER ) continue; // skip + if( UNLOCKMAN->SongIsLocked(pSong) ) + continue; TranslatedWrite(f, "" );