1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 18:12:56 +08:00

Merge branch 'judgement-line-performance' into follow-point-performance

This commit is contained in:
Dean Herbert 2020-02-23 05:36:22 +09:00
commit 0c3286fa5e

View File

@ -214,11 +214,12 @@ namespace osu.Game.Screens.Play.HUD.HitErrorMeters
if (!judgement.IsHit)
return;
if (judgementsContainer.Count >= max_concurrent_judgements)
if (judgementsContainer.Count > max_concurrent_judgements)
{
const double quick_fade_time = 100;
var old = judgementsContainer.FirstOrDefault(j => j.LifetimeEnd > Clock.CurrentTime + quick_fade_time);
// check with a bit of lenience to avoid precision error in comparison.
var old = judgementsContainer.FirstOrDefault(j => j.LifetimeEnd > Clock.CurrentTime + quick_fade_time * 1.1);
if (old != null)
{