Skip to content

Commit

Permalink
don't redundantly load notedata for rescores
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed May 19, 2020
1 parent bea64d1 commit 39ae0db
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Etterna/Singletons/ScoreManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,10 @@ ScoreManager::RecalculateSSRs(LoadingWindow* ld, const string& profileID)
if (!remarried && hs->GetSSRCalcVersion() == GetCalcVersion_OLD())
continue;

steps->GetNoteData(nd);
// notedata hasn't been loaded yet if we didn't rescore
if (!remarried)
steps->GetNoteData(nd);

const auto& serializednd = nd.SerializeNoteData2(td);
vector<float> dakine;
if (steps->m_StepsType == StepsType_dance_single)
Expand Down

0 comments on commit 39ae0db

Please sign in to comment.