Remove now-redundant null check

This commit is contained in:
Bartłomiej Dach 2021-05-17 20:47:56 +02:00
parent 33fe843ba9
commit 30d7768971

View File

@ -80,7 +80,7 @@ namespace osu.Game.Overlays
protected override bool OnClick(ClickEvent e)
{
if (current != null && !current.Disabled)
if (!current.Disabled)
current.SetDefault();
return true;
}