From 338a4fb4c861f4fb672a6d948425f73aa41f3910 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Wed, 13 Nov 2024 16:51:50 +0900 Subject: [PATCH] Remove fallback logic when custom sample set is specified --- osu.Game/Audio/HitSampleInfo.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/osu.Game/Audio/HitSampleInfo.cs b/osu.Game/Audio/HitSampleInfo.cs index 19273e3714e4..e950d0ca70e1 100644 --- a/osu.Game/Audio/HitSampleInfo.cs +++ b/osu.Game/Audio/HitSampleInfo.cs @@ -84,10 +84,12 @@ public virtual IEnumerable LookupNames { if (!string.IsNullOrEmpty(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}"; + } } }