1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-21 12:10:12 +08:00

Exclude EmptyHitWindow from being considered in TimingDistributionGraph

This commit is contained in:
Derrick Timmermans
2020-06-29 15:44:10 +08:00
Unverified
parent 0423b4406e
commit bb81f908fb
@@ -48,7 +48,7 @@ namespace osu.Game.Screens.Ranking.Statistics
/// <param name="hitEvents">The <see cref="HitEvent"/>s to display the timing distribution of.</param>
public HitEventTimingDistributionGraph(IReadOnlyList<HitEvent> hitEvents)
{
this.hitEvents = hitEvents;
this.hitEvents = hitEvents.Where(e => !(e.HitObject.HitWindows is HitWindows.EmptyHitWindows)).ToList();
}
[BackgroundDependencyLoader]