Only flush songs/courses/edits directories.

This commit is contained in:
Steve Checkoway
2006-09-16 03:31:27 +00:00
parent a22b349e81
commit 335f6a4790
+5 -1
View File
@@ -87,7 +87,11 @@ void SongManager::InitAll( LoadingWindow *ld )
static LocalizedString RELOADING ( "SongManager", "Reloading..." ); static LocalizedString RELOADING ( "SongManager", "Reloading..." );
void SongManager::Reload( bool bAllowFastLoad, LoadingWindow *ld ) void SongManager::Reload( bool bAllowFastLoad, LoadingWindow *ld )
{ {
FlushDirCache(); FILEMAN->FlushDirCache( SONGS_DIR );
FILEMAN->FlushDirCache( ADDITIONAL_SONGS_DIR );
FILEMAN->FlushDirCache( COURSES_DIR );
FILEMAN->FlushDirCache( ADDITIONAL_COURSES_DIR );
FILEMAN->FlushDirCache( EDIT_SUBDIR );
if( ld ) if( ld )
ld->SetText( RELOADING ); ld->SetText( RELOADING );