mirror of
https://github.com/ppy/osu.git
synced 2025-01-23 04:43:21 +08:00
Return inline
This commit is contained in:
parent
e1a67bdb96
commit
634a8f9ff4
@ -136,8 +136,7 @@ namespace osu.Game.Rulesets.Osu.Skinning
|
|||||||
case OsuSkinConfiguration.HitCircleOverlayAboveNumber:
|
case OsuSkinConfiguration.HitCircleOverlayAboveNumber:
|
||||||
// Quote from https://osu.ppy.sh/help/wiki/Skinning/skin.ini#%5Bgeneral%5D
|
// Quote from https://osu.ppy.sh/help/wiki/Skinning/skin.ini#%5Bgeneral%5D
|
||||||
// Old command: HitCircleOverlayAboveNumer (with typo) still works for legacy support
|
// Old command: HitCircleOverlayAboveNumer (with typo) still works for legacy support
|
||||||
var rv = source.GetConfig<OsuSkinConfiguration, TValue>(OsuSkinConfiguration.HitCircleOverlayAboveNumber);
|
return source.GetConfig<OsuSkinConfiguration, TValue>(OsuSkinConfiguration.HitCircleOverlayAboveNumber) ?? source.GetConfig<OsuSkinConfiguration, TValue>(OsuSkinConfiguration.HitCircleOverlayAboveNumer);
|
||||||
return rv ?? source.GetConfig<OsuSkinConfiguration, TValue>(OsuSkinConfiguration.HitCircleOverlayAboveNumer);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user