Only flush "Save/".

This commit is contained in:
Steve Checkoway
2006-09-16 03:17:18 +00:00
parent ed9ae19afd
commit d15318cc42
+2 -1
View File
@@ -5,6 +5,7 @@
#include "GameConstantsAndTypes.h"
#include "PrefsManager.h"
#include "GameManager.h"
#include "RageFileManager.h"
#include "Steps.h"
#include "RageLog.h"
#include "LifeMeter.h"
@@ -2657,7 +2658,7 @@ void ScreenGameplay::SaveReplay()
//
// Find a file name for the screenshot
//
FlushDirCache();
FILEMAN->FlushDirCache( "Save/" );
vector<RString> files;
GetDirListing( "Save/replay*", files, false, false );