Going forward, explicit ToLower should not be needed.

This commit is contained in:
smoogipooo 2017-04-05 21:39:09 +09:00
parent 2d8239a3f7
commit 8d720e39c6
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ namespace osu.Game.Modes.Osu.Objects.Drawables
[BackgroundDependencyLoader]
private void load(AudioManager audio)
{
sample = audio.Sample.Get($@"Gameplay/{HitObject.SampleBank.Name.ToLower()}-slidertick");
sample = audio.Sample.Get($@"Gameplay/{HitObject.SampleBank.Name}-slidertick");
}
protected override void PlaySamples()

View File

@ -60,7 +60,7 @@ namespace osu.Game.Modes.Objects.Drawables
private void load(AudioManager audio)
{
foreach (var sample in HitObject.SampleBank.Sets)
samples.Add(audio.Sample.Get($@"Gameplay/{sample.Type.ToString().ToLower()}-hit{HitObject.SampleBank.Name.ToLower()}"));
samples.Add(audio.Sample.Get($@"Gameplay/{sample.Type}-hit{HitObject.SampleBank.Name}"));
}
private ArmedState state;