Move Intro logic to OnEntering in line with framework changes.

This commit is contained in:
Dean Herbert
2017-01-20 16:28:03 +08:00
parent 2025e8ef71
commit ae464fcace
3 changed files with 5 additions and 6 deletions

View File

@ -65,9 +65,10 @@ namespace osu.Game.Screens.Menu
bgm.Looping = true;
}
protected override void LoadComplete()
protected override void OnEntering(GameMode last)
{
base.LoadComplete();
base.OnEntering(last);
Scheduler.Add(delegate
{
welcome.Play();