Use default background on empty song select screen

This commit is contained in:
Drew DeVault 2017-01-17 16:43:53 -05:00
parent 5eb1cda77b
commit 7559fc593a
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,6 @@ public WorkingBeatmap Beatmap
{
return beatmap;
}
set
{
if (beatmap == value)
@ -56,6 +55,8 @@ public WorkingBeatmap Beatmap
public BackgroundModeBeatmap(WorkingBeatmap beatmap)
{
Beatmap = beatmap;
if (beatmap == null)
Add(background = new Background(@"Backgrounds/bg1"));
}
public void BlurTo(Vector2 sigma, double duration)
@ -84,7 +85,6 @@ private void load()
{
Sprite.Texture = beatmap.Background;
}
}
}
}