Fix custom sample set 0 not falling back to default samples

This commit is contained in:
smoogipoo
2020-04-13 20:00:06 +09:00
parent ef5e88dd82
commit cee4b005e6
3 changed files with 15 additions and 2 deletions

View File

@ -168,7 +168,7 @@ namespace osu.Game.Beatmaps.Formats
{
var baseInfo = base.ApplyTo(hitSampleInfo);
if (string.IsNullOrEmpty(baseInfo.Suffix) && CustomSampleBank > 1)
if (string.IsNullOrEmpty(baseInfo.Suffix) && CustomSampleBank > 0)
baseInfo.Suffix = CustomSampleBank.ToString();
return baseInfo;