Add null check

This commit is contained in:
Dean Herbert 2020-06-15 22:23:06 +09:00
parent 53b7057ee0
commit 97067976f7
1 changed files with 1 additions and 1 deletions

View File

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