1
0
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:
LeNitrous 2019-09-09 11:26:51 +08:00
parent be4f0cc2dd
commit 04a4f9c9a3

View File

@ -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;