1
0
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:
Dean Herbert 2024-11-13 16:51:50 +09:00
parent 5ce230b85a
commit 338a4fb4c8
No known key found for this signature in database

View File

@ -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.