diff --git a/stepmania/src/Profile.cpp b/stepmania/src/Profile.cpp index 64f7f787a0..6195dfd5d9 100644 --- a/stepmania/src/Profile.cpp +++ b/stepmania/src/Profile.cpp @@ -892,6 +892,8 @@ bool Profile::SaveAllToDir( CString sDir, bool bSignData ) const FILEMAN->CreateDir( sDir + EDIT_COURSES_SUBDIR ); FILEMAN->CreateDir( sDir + SCREENSHOTS_SUBDIR ); + FlushDirCache(); + return bSaved; } @@ -1901,7 +1903,6 @@ Profile *Profile::CreateNewProfile( CString sProfileDir, CString sName, bool bFi return NULL; } - FlushDirCache(); return pProfile; }