1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-13 13:32:54 +08:00

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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;