mirror of
https://github.com/ppy/osu
synced 2024-12-16 03:45:46 +00:00
Remove now-redundant null check
This commit is contained in:
parent
33fe843ba9
commit
30d7768971
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user