1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 14:23:02 +08:00

Use kebaberize shorthand

This commit is contained in:
Dean Herbert 2020-02-20 15:45:54 +09:00
parent 8f5d3896f6
commit 049975b5a4

View File

@ -33,7 +33,7 @@ namespace osu.Game.Rulesets.Catch.Skinning
case CatchSkinComponents.FruitOrange:
case CatchSkinComponents.FruitGrapes:
case CatchSkinComponents.FruitPear:
var lookupName = catchSkinComponent.Component.ToString().Underscore().Hyphenate();
var lookupName = catchSkinComponent.Component.ToString().Kebaberize();
if (GetTexture(lookupName) != null)
return new LegacyFruitPiece(lookupName);