Fix hitcircle font prefix not being read for legacy skins

This commit is contained in:
Dean Herbert 2019-09-10 18:06:24 +09:00
parent 523e395d2e
commit 36d3736e1d
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ public Drawable GetDrawableComponent(ISkinComponent component)
return null;
case OsuSkinComponents.HitCircleText:
var font = GetConfig<OsuSkinConfiguration, string>(OsuSkinConfiguration.HitCircleFont)?.Value ?? "default";
var font = GetConfig<OsuSkinConfiguration, string>(OsuSkinConfiguration.HitCirclePrefix)?.Value ?? "default";
var overlap = GetConfig<OsuSkinConfiguration, float>(OsuSkinConfiguration.HitCircleOverlap)?.Value ?? 0;
return !hasFont(font)

View File

@ -5,7 +5,7 @@ namespace osu.Game.Rulesets.Osu.Skinning
{
public enum OsuSkinConfiguration
{
HitCircleFont,
HitCirclePrefix,
HitCircleOverlap,
SliderBorderSize,
SliderPathRadius,