mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 17:02:57 +08:00
Give WorkingBeatmap's Metadata a non-null default
This commit is contained in:
parent
f96875a470
commit
3000323727
@ -25,7 +25,7 @@ namespace osu.Game.Beatmaps
|
||||
{
|
||||
BeatmapInfo = beatmapInfo;
|
||||
BeatmapSetInfo = beatmapInfo.BeatmapSet;
|
||||
Metadata = beatmapInfo.Metadata ?? BeatmapSetInfo.Metadata;
|
||||
Metadata = beatmapInfo.Metadata ?? BeatmapSetInfo?.Metadata ?? new BeatmapMetadata();
|
||||
|
||||
Mods.ValueChanged += mods => applyRateAdjustments();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user