always use default samples

This commit is contained in:
LeNitrous
2019-09-24 18:17:27 +08:00
parent ec78889e94
commit afa043aa7d
3 changed files with 7 additions and 32 deletions

View File

@ -2,6 +2,7 @@
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Audio;
using osu.Framework.Screens;
using osu.Framework.Graphics;
@ -17,10 +18,10 @@ namespace osu.Game.Screens.Menu
private const double delay_step_two = 600;
[BackgroundDependencyLoader]
private void load()
private void load(AudioManager audio)
{
if (MenuVoice.Value)
SetWelcome();
Welcome = audio.Samples.Get(@"welcome");
}
protected override void LogoArriving(OsuLogo logo, bool resuming)