Replace incorrectly removed background logic

I had earlier thought that removing this would solve the weirdness with
starting the beatmap on any but the first difficulty, and forgot to
replace it when I found the actual cause.
This commit is contained in:
Drew DeVault 2017-02-01 19:32:30 -05:00
parent 9f9245cee3
commit c88a2fbf8a
1 changed files with 3 additions and 0 deletions

View File

@ -251,6 +251,9 @@ private void onFail()
protected override void OnEntering(GameMode last)
{
base.OnEntering(last);
(Background as BackgroundModeBeatmap)?.BlurTo(Vector2.Zero, 1000);
Background?.FadeTo((100f- dimLevel)/100, 1000);
Content.Alpha = 0;
dimLevel.ValueChanged += dimChanged;