1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 18:42:56 +08:00

Put loadcomplete next to other protected overrides

This commit is contained in:
David Zhao 2019-03-20 19:42:39 +09:00
parent 9013afe412
commit 8543e8c36f

View File

@ -157,6 +157,12 @@ namespace osu.Game.Screens.Play
logo.Delay(resuming ? 0 : 500).MoveToOffset(new Vector2(0, -0.24f), 500, Easing.InOutExpo);
}
protected override void LoadComplete()
{
inputManager = GetContainingInputManager();
base.LoadComplete();
}
private ScheduledDelegate pushDebounce;
protected VisualSettings VisualSettings;
@ -206,12 +212,6 @@ namespace osu.Game.Screens.Play
}
}
protected override void LoadComplete()
{
inputManager = GetContainingInputManager();
base.LoadComplete();
}
private void cancelLoad()
{
pushDebounce?.Cancel();