add fallback to normal note image

This commit is contained in:
mcendu 2020-04-02 14:29:30 +08:00
parent 366dc7085d
commit f3b96f8f50
No known key found for this signature in database
GPG Key ID: FBCD5D45163D6364

View File

@ -21,7 +21,8 @@ namespace osu.Game.Rulesets.Mania.Skinning
protected override Texture GetTexture(ISkinSource skin)
{
return GetTextureFromLookup(skin, LegacyManiaSkinConfigurationLookups.HoldNoteTailImage)
?? GetTextureFromLookup(skin, LegacyManiaSkinConfigurationLookups.HoldNoteHeadImage);
?? GetTextureFromLookup(skin, LegacyManiaSkinConfigurationLookups.HoldNoteHeadImage)
?? GetTextureFromLookup(skin, LegacyManiaSkinConfigurationLookups.NoteImage);
}
}
}