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

Add main menu music back.

This commit is contained in:
Dean Herbert 2016-10-06 17:44:13 +09:00
parent e5dc8bad2f
commit 75c97a62e3

View File

@ -24,7 +24,7 @@ namespace osu.Game.GameModes.Menu
protected override bool IsTopLevel => true;
//private AudioTrack bgm;
private AudioTrack bgm;
protected override BackgroundMode CreateBackground() => new BackgroundModeDefault();
@ -37,8 +37,10 @@ namespace osu.Game.GameModes.Menu
AudioSample welcome = Game.Audio.Sample.Get(@"welcome");
welcome.Play();
//bgm = Game.Audio.Track.Get(@"circles");
//bgm.Start();
bgm = Game.Audio.Track.Get(@"circles");
bgm.Looping = true;
bgm.Start();
Children = new Drawable[]
{
new ParallaxContainer