1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-06 13:22:59 +08:00

Tidy up a touch

This commit is contained in:
Dean Herbert 2020-04-05 14:13:06 +09:00
parent 36ad1cbd79
commit bc6c6228ac

View File

@ -134,9 +134,10 @@ namespace osu.Game.Rulesets.Osu.Skinning
break;
case OsuSkinConfiguration.HitCircleOverlayAboveNumber:
// Quote from https://osu.ppy.sh/help/wiki/Skinning/skin.ini#%5Bgeneral%5D
// Old command: HitCircleOverlayAboveNumer (with typo) still works for legacy support
return source.GetConfig<OsuSkinConfiguration, TValue>(OsuSkinConfiguration.HitCircleOverlayAboveNumber) ?? source.GetConfig<OsuSkinConfiguration, TValue>(OsuSkinConfiguration.HitCircleOverlayAboveNumer);
// See https://osu.ppy.sh/help/wiki/Skinning/skin.ini#%5Bgeneral%5D
// HitCircleOverlayAboveNumer (with typo) should still be supported for now.
return source.GetConfig<OsuSkinConfiguration, TValue>(OsuSkinConfiguration.HitCircleOverlayAboveNumber) ??
source.GetConfig<OsuSkinConfiguration, TValue>(OsuSkinConfiguration.HitCircleOverlayAboveNumer);
}
break;