1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-23 00:20:38 +08:00

Fix nullref

This commit is contained in:
Andrei Zavatski
2019-12-22 03:41:19 +03:00
Unverified
parent aded12af9e
commit 7a0d76ae77
@@ -50,7 +50,7 @@ namespace osu.Game.Screens.Play.HUD.HitErrorMeters
Insert(runningDepth--, new DrawableResult(colour, drawable_judgement_size));
if (Children.Count > max_available_judgements)
Children.FirstOrDefault(c => !c.IsRemoved).Remove();
Children.FirstOrDefault(c => !c.IsRemoved)?.Remove();
}
}