mirror of https://github.com/ppy/osu
Fix unit tests
This commit is contained in:
parent
79b12ef085
commit
9be25c3758
|
@ -249,7 +249,8 @@ private void load(AudioManager audio, APIAccess api, OsuConfigManager config)
|
|||
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 @@ public override bool OnExiting(IScreen next)
|
|||
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