diff --git a/src/RageTextureManager.cpp b/src/RageTextureManager.cpp index 56f32ebf36..ef30d3c37b 100644 --- a/src/RageTextureManager.cpp +++ b/src/RageTextureManager.cpp @@ -31,6 +31,7 @@ #include "Screen.h" #include "ScreenManager.h" #include "arch/MovieTexture/MovieTexture.h" +#include "ScoreManager.h" #include @@ -351,6 +352,10 @@ RageTextureManager::GarbageCollect(GCType type) if (bDeleteThis) DeleteTexture(t); } + + // this may actually the best place for this -mina + LOG->Trace("Unloading replaydata."); + SCOREMAN->UnloadAllReplayData(); } void