diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index e88d5a0753..366189f4e9 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -1150,7 +1150,7 @@ RString StepMania::SaveScreenshot( RString sDir, bool bSaveCompressed, bool bMak // // Find a file name for the screenshot // - FlushDirCache(); + FILEMAN->FlushDirCache( sDir ); vector files; GetDirListing( sDir + "screen*", files, false, false );