mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 06:07:11 +09:00
Use kebaberize shorthand
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user