mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 19:53:23 +08:00
Add null check for safety
Co-Authored-By: Salman Ahmed <slmanarendo1950@gmail.com>
This commit is contained in:
parent
fc1d49631a
commit
e5b14ce74d
@ -187,7 +187,7 @@ namespace osu.Game.Screens.Menu
|
|||||||
{
|
{
|
||||||
if (buttonsTopLevel.Any(b => e.PressedKeys.Contains(b.TriggerKey)))
|
if (buttonsTopLevel.Any(b => e.PressedKeys.Contains(b.TriggerKey)))
|
||||||
{
|
{
|
||||||
logo.Click();
|
logo?.Click();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user