don't adjust duplicate steps when loading from cache: another optimization.

This commit is contained in:
Thai Pangsakulyanont
2012-01-08 18:58:45 +07:00
parent de65dcf05b
commit cf3916cd89
+4 -1
View File
@@ -826,7 +826,10 @@ void Song::TidyUpData( bool fromCache, bool duringCache )
/* Don't allow multiple Steps of the same StepsType and Difficulty (except
* for edits). We should be able to use difficulty names as unique
* identifiers for steps. */
SongUtil::AdjustDuplicateSteps( this );
if( !duringCache )
{
SongUtil::AdjustDuplicateSteps( this );
}
}
void Song::TranslateTitles()