mirror of
https://github.com/ppy/osu
synced 2025-01-15 18:41:14 +00:00
Don't force Gameplay prefix on all skin sample lookups
This commit is contained in:
parent
c9a85587fb
commit
0b28cca7e6
@ -50,9 +50,9 @@ namespace osu.Game.Audio
|
|||||||
get
|
get
|
||||||
{
|
{
|
||||||
if (!string.IsNullOrEmpty(Suffix))
|
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)
|
foreach (var lookup in s.LookupNames)
|
||||||
{
|
{
|
||||||
if ((ch = samples.Get($"Gameplay/{lookup}")) != null)
|
if ((ch = samples.Get(lookup)) != null)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user