Use actual reference to default beatmap for fallback

Co-Authored-By: nyquillerium <nyquill@ppy.sh>
This commit is contained in:
Dean Herbert
2019-03-06 13:01:37 +09:00
committed by GitHub
parent b94d080b1c
commit 9441f88033

View File

@ -44,7 +44,7 @@ namespace osu.Game.Beatmaps.Drawables
else
{
// Use the default background if somehow an online set does not exist and we don't have a local copy.
drawable = new BeatmapBackgroundSprite(beatmaps.GetWorkingBeatmap(null));
drawable = new BeatmapBackgroundSprite(beatmaps.DefaultBeatmap);
}
drawable.RelativeSizeAxes = Axes.Both;