diff --git a/stepmania/src/NotesWriterSM.cpp b/stepmania/src/NotesWriterSM.cpp index ad21a4f7b2..72cac14d45 100644 --- a/stepmania/src/NotesWriterSM.cpp +++ b/stepmania/src/NotesWriterSM.cpp @@ -5,6 +5,7 @@ #include "GameManager.h" #include "RageLog.h" #include "RageFile.h" +#include "RageFileManager.h" #include #include @@ -168,7 +169,7 @@ void NotesWriterSM::WriteSMNotesTag( const Steps &in, RageFile &f, bool bSavingC bool NotesWriterSM::Write(CString sPath, const Song &out, bool bSavingCache) { /* Flush dir cache when writing steps, so the old size isn't cached. */ - FlushDirCache(); + FILEMAN->FlushDirCache( Dirname(sPath) ); unsigned i;