Skip to content

Commit

Permalink
current calc version check-skip should be first priority, also, enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed May 30, 2017
1 parent 1f6601c commit f1e2c4e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/ScoreManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ HighScore* ScoreManager::GetChartPBUpTo(string& ck, float& rate) {
void ScoreManager::RecalculateSSRs() {
for(size_t i = 0; i < AllScores.size(); ++i) {
HighScore* hs = AllScores[i];

if (hs->GetSSRCalcVersion() == GetCalcVersion())
continue;

Steps* steps = SONGMAN->GetStepsByChartkey(hs->GetChartKey());

if (!steps) {
Expand All @@ -183,9 +187,6 @@ void ScoreManager::RecalculateSSRs() {
continue;
}

//if (hs->GetSSRCalcVersion() == GetCalcVersion())
//continue;


TimingData* td = steps->GetTimingData();
NoteData& nd = steps->GetNoteData();
Expand Down

0 comments on commit f1e2c4e

Please sign in to comment.