Skip to content

Commit

Permalink
ok no it wasnt but it should be now
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Dec 4, 2018
1 parent e95c5d6 commit 391327b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/RageTextureManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -344,10 +344,6 @@ RageTextureManager::GarbageCollect(GCType type)
if (bDeleteThis)
DeleteTexture(t);
}

// this may actually the best place for this -mina
LOG->Trace("Unloading replaydata.");
SCOREMAN->UnloadAllReplayData();
}

void
Expand Down
5 changes: 5 additions & 0 deletions src/ScreenGameplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
#include "XmlFileUtil.h"
#include "Profile.h" // for replay data stuff
#include "DownloadManager.h"
#include "ScoreManager.h"

// Defines
#define SHOW_LIFE_METER_FOR_DISABLED_PLAYERS \
Expand Down Expand Up @@ -306,6 +307,10 @@ ScreenGameplay::ScreenGameplay()
#if !defined(WITHOUT_NETWORKING)
DLMAN->UpdateDLSpeed(true);
#endif
if (GamePreferences::m_AutoPlay != PC_REPLAY) {
LOG->Trace("Unloading replaydata.");
SCOREMAN->UnloadAllReplayData();
}
}

void
Expand Down

0 comments on commit 391327b

Please sign in to comment.