mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 17:32:54 +08:00
Don't show warning screen when registering on dev server
This commit is contained in:
parent
41d8bc291c
commit
bde7f88eb3
@ -26,11 +26,14 @@ namespace osu.Game.Overlays.AccountCreation
|
||||
[Resolved(CanBeNull = true)]
|
||||
private IAPIProvider api { get; set; }
|
||||
|
||||
[Resolved]
|
||||
private OsuGameBase game { get; set; }
|
||||
|
||||
private const string help_centre_url = "/help/wiki/Help_Centre#login";
|
||||
|
||||
public override void OnEntering(IScreen last)
|
||||
{
|
||||
if (string.IsNullOrEmpty(api?.ProvidedUsername))
|
||||
if (string.IsNullOrEmpty(api?.ProvidedUsername) || game.UseDevelopmentServer)
|
||||
{
|
||||
this.FadeOut();
|
||||
this.Push(new ScreenEntry());
|
||||
|
Loading…
Reference in New Issue
Block a user