mirror of
https://github.com/ppy/osu.git
synced 2024-12-05 10:33:22 +08:00
Remove fallback logic when custom sample set is specified
This commit is contained in:
parent
5ce230b85a
commit
338a4fb4c8
@ -84,12 +84,14 @@ namespace osu.Game.Audio
|
|||||||
{
|
{
|
||||||
if (!string.IsNullOrEmpty(Suffix))
|
if (!string.IsNullOrEmpty(Suffix))
|
||||||
yield return $"Gameplay/{Bank}-{Name}{Suffix}";
|
yield return $"Gameplay/{Bank}-{Name}{Suffix}";
|
||||||
|
else
|
||||||
|
{
|
||||||
yield return $"Gameplay/{Bank}-{Name}";
|
yield return $"Gameplay/{Bank}-{Name}";
|
||||||
|
|
||||||
yield return $"Gameplay/{Name}";
|
yield return $"Gameplay/{Name}";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Creates a new <see cref="HitSampleInfo"/> with overridden values.
|
/// Creates a new <see cref="HitSampleInfo"/> with overridden values.
|
||||||
|
Loading…
Reference in New Issue
Block a user