mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 10:22:56 +08:00
beatmap can not be null in BeatmapPanel.cs
This commit is contained in:
parent
289a1346fc
commit
dd3874daa8
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user