1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 01:27:29 +08:00

remove useless nullcheck

This commit is contained in:
EVAST9919 2019-02-03 17:20:35 +03:00
parent eeecbfcbe0
commit d6d5bb5ecf

View File

@ -9,7 +9,7 @@ namespace osu.Game.Overlays.KeyBinding
{
public class RulesetBindingsSection : SettingsSection
{
public override FontAwesome Icon => (ruleset?.CreateInstance().CreateIcon() as SpriteIcon)?.Icon ?? FontAwesome.fa_osu_hot;
public override FontAwesome Icon => (ruleset.CreateInstance().CreateIcon() as SpriteIcon)?.Icon ?? FontAwesome.fa_osu_hot;
public override string Header => ruleset.Name;
private readonly RulesetInfo ruleset;