mirror of
https://github.com/ppy/osu.git
synced 2025-03-17 20:07:26 +08: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…
x
Reference in New Issue
Block a user