mirror of
https://github.com/ppy/osu
synced 2024-12-15 03:16:17 +00:00
Fix unit tests
This commit is contained in:
parent
79b12ef085
commit
9be25c3758
@ -249,7 +249,8 @@ namespace osu.Game.Screens.Play
|
||||
foreach (var mod in Beatmap.Value.Mods.Value.OfType<IApplicableToScoreProcessor>())
|
||||
mod.ApplyToScoreProcessor(ScoreProcessor);
|
||||
|
||||
Background.UpdateDim.Value = true;
|
||||
if (Background != null)
|
||||
Background.UpdateDim.Value = true;
|
||||
}
|
||||
|
||||
private void applyRateFromMods()
|
||||
|
@ -242,7 +242,9 @@ namespace osu.Game.Screens.Play
|
||||
content.ScaleTo(0.7f, 150, Easing.InQuint);
|
||||
this.FadeOut(150);
|
||||
cancelLoad();
|
||||
Background.UpdateDim.Value = false;
|
||||
|
||||
if (Background != null)
|
||||
Background.UpdateDim.Value = false;
|
||||
|
||||
return base.OnExiting(next);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user