mirror of
https://github.com/ppy/osu.git
synced 2026-05-31 02:30:06 +08:00
Fix a possible nullref when login fails
This commit is contained in:
@@ -171,7 +171,7 @@ namespace osu.Game.Overlays.Settings.Sections.General
|
||||
break;
|
||||
}
|
||||
|
||||
if (form != null) GetContainingInputManager().ChangeFocus(form);
|
||||
if (form != null) GetContainingInputManager()?.ChangeFocus(form);
|
||||
}
|
||||
|
||||
public override bool AcceptsFocus => true;
|
||||
|
||||
Reference in New Issue
Block a user