mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 12:17:26 +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:
|
||||
// Quote from https://osu.ppy.sh/help/wiki/Skinning/skin.ini#%5Bgeneral%5D
|
||||
// Old command: HitCircleOverlayAboveNumer (with typo) still works for legacy support
|
||||
var rv = source.GetConfig<OsuSkinConfiguration, TValue>(OsuSkinConfiguration.HitCircleOverlayAboveNumber);
|
||||
return rv ?? source.GetConfig<OsuSkinConfiguration, TValue>(OsuSkinConfiguration.HitCircleOverlayAboveNumer);
|
||||
return source.GetConfig<OsuSkinConfiguration, TValue>(OsuSkinConfiguration.HitCircleOverlayAboveNumber) ?? source.GetConfig<OsuSkinConfiguration, TValue>(OsuSkinConfiguration.HitCircleOverlayAboveNumer);
|
||||
}
|
||||
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user