diff --git a/osu.Game/Modes/ScoreProcessor.cs b/osu.Game/Modes/ScoreProcessor.cs index d042864f7d..3900a79485 100644 --- a/osu.Game/Modes/ScoreProcessor.cs +++ b/osu.Game/Modes/ScoreProcessor.cs @@ -73,7 +73,7 @@ namespace osu.Game.Modes /// /// All judgements held by this ScoreProcessor. /// - protected List Judgements; + protected readonly List Judgements = new List(); /// /// Whether the score is in a failable state. @@ -95,7 +95,7 @@ namespace osu.Game.Modes protected ScoreProcessor(HitRenderer hitRenderer) : this() { - Judgements = new List(hitRenderer.Beatmap.HitObjects.Count); + Judgements.Capacity = hitRenderer.Beatmap.HitObjects.Count; hitRenderer.OnJudgement += addJudgement; }