Don't consider slider tails in accuracy heatmap

This commit is contained in:
smoogipoo 2020-06-22 19:05:41 +09:00
parent 2b7fb2b71d
commit 30aa6ec2d3
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ private void load()
// Todo: This should probably not be done like this.
float radius = OsuHitObject.OBJECT_RADIUS * (1.0f - 0.7f * (playableBeatmap.BeatmapInfo.BaseDifficulty.CircleSize - 5) / 5) / 2;
foreach (var e in score.HitEvents.Where(e => e.HitObject is HitCircle))
foreach (var e in score.HitEvents.Where(e => e.HitObject is HitCircle && !(e.HitObject is SliderTailCircle)))
{
if (e.LastHitObject == null || e.Position == null)
continue;