mirror of https://github.com/ppy/osu
remove null conditional
This commit is contained in:
parent
a67a2899a9
commit
be4f0cc2dd
|
@ -137,7 +137,7 @@ public override void OnEntering(IScreen last)
|
|||
}
|
||||
}
|
||||
|
||||
if (last is IntroScreen && api?.State == APIState.Offline)
|
||||
if (last is IntroScreen && api.State == APIState.Offline)
|
||||
login?.ToggleVisibility();
|
||||
|
||||
Beatmap.ValueChanged += beatmap_ValueChanged;
|
||||
|
|
Loading…
Reference in New Issue