Skip to content

Commit

Permalink
clear scoretorecalc when loading profiles after each profile is loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Apr 6, 2020
1 parent a590605 commit 738700a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Etterna/Singletons/ScoreManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,9 @@ ScoreManager::RecalculateSSRs(LoadingWindow* ld, const string& profileID)
onUpdate,
callback,
(void*)new pair<int, LoadingWindow*>(onePercent, ld));

SCOREMAN->scorestorecalc.clear();
SCOREMAN->scorestorecalc.shrink_to_fit();
return;
}

Expand Down

0 comments on commit 738700a

Please sign in to comment.