Skip to content

Commit

Permalink
Merge pull request #234 from bdach/hitobject-counts-holds
Browse files Browse the repository at this point in the history
Include holds when populating slider count
  • Loading branch information
smoogipoo authored Nov 15, 2024
2 parents 277303d + d03a9b7 commit f0c1056
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 f0c1056

Please sign in to comment.