1
0
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:
Dean Herbert 2017-11-02 21:52:12 +09:00
parent 9b2d41f4eb
commit c99ffb4aa3

View File

@ -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)