1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 10:07:36 +08:00

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;
}