1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 20:53:00 +08:00

beatmap can not be null in BeatmapPanel.cs

This commit is contained in:
Miterosan 2017-11-07 23:13:32 +01:00
parent 289a1346fc
commit dd3874daa8

View File

@ -73,6 +73,9 @@ namespace osu.Game.Beatmaps.Drawables
public BeatmapPanel(BeatmapInfo beatmap)
{
if (beatmap == null)
throw new ArgumentNullException(nameof(beatmap));
Beatmap = beatmap;
Height *= 0.60f;