mirror of https://github.com/ppy/osu
Fix potential nullref
This commit is contained in:
parent
9b2d41f4eb
commit
c99ffb4aa3
|
@ -141,7 +141,7 @@ protected override bool OnKeyDown(InputState state, KeyDownEventArgs args)
|
|||
switch (args.Key)
|
||||
{
|
||||
case Key.Space:
|
||||
logo.TriggerOnClick(state);
|
||||
logo?.TriggerOnClick(state);
|
||||
return true;
|
||||
case Key.Escape:
|
||||
switch (State)
|
||||
|
|
Loading…
Reference in New Issue