1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 05:32:54 +08:00

Merge pull request #2296 from smoogipoo/fix-background-fade

Fix beatmap background fade not being updated on retry
This commit is contained in:
Dean Herbert 2018-03-24 04:06:13 +09:00 committed by GitHub
commit 092ba4833e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,6 +46,12 @@ namespace osu.Game.Screens.Play
UpdateBackgroundElements();
}
protected override void OnResuming(Screen last)
{
base.OnResuming(last);
UpdateBackgroundElements();
}
protected virtual void UpdateBackgroundElements()
{
if (!IsCurrentScreen) return;