Use ISample everywhere in Skin GetSample lookup path

This commit is contained in:
Dean Herbert
2021-02-18 18:32:28 +09:00
parent 1d567e2b2d
commit 00574a5288
18 changed files with 22 additions and 22 deletions

View File

@ -39,7 +39,7 @@ namespace osu.Game.Skinning
return base.GetConfig<TLookup, TValue>(lookup);
}
public override Sample GetSample(ISampleInfo sampleInfo)
public override ISample GetSample(ISampleInfo sampleInfo)
{
if (sampleInfo is ConvertHitObjectParser.LegacyHitSampleInfo legacy && legacy.CustomSampleBank == 0)
{