Skip to content

Commit

Permalink
Include holds when populating slider count
Browse files Browse the repository at this point in the history
  • Loading branch information
bdach committed Nov 15, 2024
1 parent 277303d commit d03a9b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ private void processDifficulty(ProcessableItem item, MySqlConnection conn)
{
if ((obj.LegacyType & LegacyHitObjectType.Circle) > 0)
countCircle++;
if ((obj.LegacyType & LegacyHitObjectType.Slider) > 0)
if ((obj.LegacyType & LegacyHitObjectType.Slider) > 0 || (obj.LegacyType & LegacyHitObjectType.Hold) > 0)
countSlider++;
if ((obj.LegacyType & LegacyHitObjectType.Spinner) > 0)
countSpinner++;
Expand Down

0 comments on commit d03a9b7

Please sign in to comment.