mirror of
https://github.com/ppy/osu
synced 2024-12-26 00:32:52 +00:00
Don't force Gameplay prefix on all skin sample lookups
This commit is contained in:
parent
b49a579411
commit
c863341ca1
@ -50,9 +50,9 @@ namespace osu.Game.Audio
|
||||
get
|
||||
{
|
||||
if (!string.IsNullOrEmpty(Suffix))
|
||||
yield return $"{Bank}-{Name}{Suffix}";
|
||||
yield return $"Gameplay/{Bank}-{Name}{Suffix}";
|
||||
|
||||
yield return $"{Bank}-{Name}";
|
||||
yield return $"Gameplay/{Bank}-{Name}";
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -88,7 +88,7 @@ namespace osu.Game.Skinning
|
||||
{
|
||||
foreach (var lookup in s.LookupNames)
|
||||
{
|
||||
if ((ch = samples.Get($"Gameplay/{lookup}")) != null)
|
||||
if ((ch = samples.Get(lookup)) != null)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user