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

Add non-null assertion missing in BeatmapScoreRow

This commit is contained in:
Dean Herbert 2022-07-13 18:48:12 +09:00
parent 5c6fa2341f
commit 467f83b603

View File

@ -3,6 +3,7 @@
#nullable disable #nullable disable
using System.Diagnostics;
using osu.Framework.Allocation; using osu.Framework.Allocation;
using osu.Framework.Bindables; using osu.Framework.Bindables;
using osu.Framework.Graphics; using osu.Framework.Graphics;
@ -135,6 +136,8 @@ namespace osu.Game.Tournament.Screens.TeamIntro
{ {
public BeatmapScoreRow(SeedingBeatmap beatmap) public BeatmapScoreRow(SeedingBeatmap beatmap)
{ {
Debug.Assert(beatmap.Beatmap != null);
RelativeSizeAxes = Axes.X; RelativeSizeAxes = Axes.X;
AutoSizeAxes = Axes.Y; AutoSizeAxes = Axes.Y;