mirror of https://github.com/ppy/osu
Add null check
This commit is contained in:
parent
53b7057ee0
commit
97067976f7
|
@ -30,7 +30,7 @@ private void load(Storage storage, OsuConfigManager config, OsuGame game)
|
|||
Bindable = config.GetBindable<ReleaseStream>(OsuSetting.ReleaseStream),
|
||||
});
|
||||
|
||||
if (updateManager.CanCheckForUpdate)
|
||||
if (updateManager?.CanCheckForUpdate == true)
|
||||
{
|
||||
Add(checkForUpdatesButton = new SettingsButton
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue