We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd04262 commit 9bcc516Copy full SHA for 9bcc516
src/StageStats.cpp
@@ -292,7 +292,10 @@ void StageStats::FinalizeScores( bool bSummary )
292
// new score structure -mina
293
PROFILEMAN->AddScoreByKey(p, hs);
294
Profile* zzz = PROFILEMAN->GetProfile(PLAYER_1);
295
- zzz->SetAnyAchievedGoals(GAMESTATE->m_pCurSteps[PLAYER_1]->GetChartKey(), GAMESTATE->m_SongOptions.GetCurrent().m_fMusicRate, hs);
+
296
+ // should prolly handle this check internally instead -mina
297
+ if (zzz->ChartkeyHasGoal(GAMESTATE->m_pCurSteps[PLAYER_1]->GetChartKey()));
298
+ zzz->SetAnyAchievedGoals(GAMESTATE->m_pCurSteps[PLAYER_1]->GetChartKey(), GAMESTATE->m_SongOptions.GetCurrent().m_fMusicRate, hs);
299
}
300
301
0 commit comments