Only flush the screen shot directory.

This commit is contained in:
Steve Checkoway
2006-09-16 03:16:03 +00:00
parent f8522927cc
commit ed9ae19afd
+1 -1
View File
@@ -1204,7 +1204,7 @@ RString StepMania::SaveScreenshot( RString sDir, bool bSaveCompressed, bool bMak
// We wrote a new file, and SignFile won't pick it up unless we invalidate
// the Dir cache. There's got to be a better way of doing this than
// thowing out all the cache. -Chris
FlushDirCache();
FILEMAN->FlushDirCache( sDir );
if( PREFSMAN->m_bSignProfileData && bMakeSignature )
CryptManager::SignFileToFile( sPath );