mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
use IsLoggedIn and remove useless clause
This commit is contained in:
parent
be4f0cc2dd
commit
04a4f9c9a3
@ -137,7 +137,7 @@ namespace osu.Game.Screens.Menu
|
||||
}
|
||||
}
|
||||
|
||||
if (last is IntroScreen && api.State == APIState.Offline)
|
||||
if (!api.IsLoggedIn)
|
||||
login?.ToggleVisibility();
|
||||
|
||||
Beatmap.ValueChanged += beatmap_ValueChanged;
|
||||
|
Loading…
Reference in New Issue
Block a user