mirror of
https://github.com/ppy/osu
synced 2025-01-25 07:13:22 +00:00
Going forward, explicit ToLower should not be needed.
This commit is contained in:
parent
2d8239a3f7
commit
8d720e39c6
@ -58,7 +58,7 @@ namespace osu.Game.Modes.Osu.Objects.Drawables
|
|||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(AudioManager audio)
|
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()
|
protected override void PlaySamples()
|
||||||
|
@ -60,7 +60,7 @@ namespace osu.Game.Modes.Objects.Drawables
|
|||||||
private void load(AudioManager audio)
|
private void load(AudioManager audio)
|
||||||
{
|
{
|
||||||
foreach (var sample in HitObject.SampleBank.Sets)
|
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;
|
private ArmedState state;
|
||||||
|
Loading…
Reference in New Issue
Block a user