Fix nullref in test

This commit is contained in:
Joseph Madamba
2021-05-19 14:06:21 -07:00
parent 85a3027f1b
commit 3da2cdfd05

View File

@ -33,7 +33,7 @@ namespace osu.Game.Overlays.AccountCreation
public override void OnEntering(IScreen last) public override void OnEntering(IScreen last)
{ {
if (string.IsNullOrEmpty(api?.ProvidedUsername) || game.UseDevelopmentServer) if (string.IsNullOrEmpty(api?.ProvidedUsername) || game?.UseDevelopmentServer == true)
{ {
this.FadeOut(); this.FadeOut();
this.Push(new ScreenEntry()); this.Push(new ScreenEntry());