1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 17:32:54 +08:00

Use direct get and set instead

This commit is contained in:
iiSaLMaN 2019-09-25 01:26:02 +03:00
parent d013b73d33
commit cde7f49db1

View File

@ -200,12 +200,10 @@ namespace osu.Game.Screens.Menu
bool displayLogin()
{
var loginDisplayed = statics.GetBindable<bool>(Statics.LoginOverlayDisplayed);
if (!loginDisplayed.Value)
if (!statics.Get<bool>(Statics.LoginOverlayDisplayed))
{
Scheduler.AddDelayed(() => login?.Show(), 500);
loginDisplayed.Value = true;
statics.Set(Statics.LoginOverlayDisplayed, true);
}
return true;