Don't force Gameplay prefix on all skin sample lookups

This commit is contained in:
Dean Herbert 2020-10-29 16:32:20 +09:00
parent c9a85587fb
commit 0b28cca7e6
2 changed files with 3 additions and 3 deletions

View File

@ -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}";
}
}

View File

@ -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;
}
}