Skip to content

Commit

Permalink
dont reset ssrs if a chart isn't loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaciousGrace committed Jun 3, 2017
1 parent c917628 commit e40d3c1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ScoreManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,10 @@ void ScoreManager::RecalculateSSRs() {

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

if (!steps || !steps->IsRecalcValid()) {
if (!steps)
continue;

if (!steps->IsRecalcValid()) {
hs->ResetSkillsets();
continue;
}
Expand Down

0 comments on commit e40d3c1

Please sign in to comment.