Fix lack of fallback logic for custom bank samples

Closes #2966.

---

Was causing some beatmaps to not play all of their hitsounds
This commit is contained in:
Dean Herbert
2018-07-10 02:56:00 +09:00
parent abfebbddd9
commit ba258b8a05
2 changed files with 13 additions and 2 deletions

View File

@ -179,7 +179,7 @@ namespace osu.Game.Beatmaps.Formats
var baseInfo = base.ApplyTo(sampleInfo);
if (CustomSampleBank > 1)
baseInfo.Name += CustomSampleBank;
baseInfo.Suffix = CustomSampleBank.ToString();
return baseInfo;
}