mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 08:52:55 +08: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)
|
protected override bool OnClick(ClickEvent e)
|
||||||
{
|
{
|
||||||
if (current != null && !current.Disabled)
|
if (!current.Disabled)
|
||||||
current.SetDefault();
|
current.SetDefault();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user