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:
parent
8f5d3896f6
commit
049975b5a4
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user