mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Move DummyWorkingBeatmap to a more global level (OsuScreen)
This commit is contained in:
@ -49,7 +49,7 @@ namespace osu.Game.Screens
|
||||
}
|
||||
set
|
||||
{
|
||||
beatmap.Value = value;
|
||||
beatmap.Value = value ?? new DummyWorkingBeatmap();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -71,9 +71,6 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
public void UpdateBeatmap(WorkingBeatmap beatmap)
|
||||
{
|
||||
if (beatmap == null)
|
||||
beatmap = new DummyWorkingBeatmap();
|
||||
|
||||
var lastContainer = beatmapInfoContainer;
|
||||
float newDepth = lastContainer?.Depth + 1 ?? 0;
|
||||
|
||||
|
Reference in New Issue
Block a user