Fix potential nullref

This commit is contained in:
Dean Herbert 2017-11-02 21:52:12 +09:00
parent 9b2d41f4eb
commit c99ffb4aa3
1 changed files with 1 additions and 1 deletions

View File

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