mirror of
https://github.com/ppy/osu
synced 2025-03-01 17:11:12 +00:00
Fix nullref in test
This commit is contained in:
parent
85a3027f1b
commit
3da2cdfd05
@ -33,7 +33,7 @@ namespace osu.Game.Overlays.AccountCreation
|
||||
|
||||
public override void OnEntering(IScreen last)
|
||||
{
|
||||
if (string.IsNullOrEmpty(api?.ProvidedUsername) || game.UseDevelopmentServer)
|
||||
if (string.IsNullOrEmpty(api?.ProvidedUsername) || game?.UseDevelopmentServer == true)
|
||||
{
|
||||
this.FadeOut();
|
||||
this.Push(new ScreenEntry());
|
||||
|
Loading…
Reference in New Issue
Block a user