mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 15:12:57 +08:00
Fix potential nullref
This commit is contained in:
parent
9b2d41f4eb
commit
c99ffb4aa3
@ -141,7 +141,7 @@ namespace osu.Game.Screens.Menu
|
|||||||
switch (args.Key)
|
switch (args.Key)
|
||||||
{
|
{
|
||||||
case Key.Space:
|
case Key.Space:
|
||||||
logo.TriggerOnClick(state);
|
logo?.TriggerOnClick(state);
|
||||||
return true;
|
return true;
|
||||||
case Key.Escape:
|
case Key.Escape:
|
||||||
switch (State)
|
switch (State)
|
||||||
|
Loading…
Reference in New Issue
Block a user