1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-18 07:17:20 +08:00

Move cancelLoad call to OnResuming

This has no real effect; it just feels more readable to me.
This commit is contained in:
Dean Herbert 2020-12-10 16:34:58 +09:00
parent 491ab74059
commit 67dd7be71a

View File

@ -191,6 +191,7 @@ namespace osu.Game.Screens.Play
{
base.OnResuming(last);
cancelLoad();
contentIn();
}
@ -198,8 +199,6 @@ namespace osu.Game.Screens.Play
{
base.OnSuspending(next);
cancelLoad();
BackgroundBrightnessReduction = false;
// we're moving to player, so a period of silence is upcoming.