mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 00:43:21 +08:00
Add null check
This commit is contained in:
parent
53b7057ee0
commit
97067976f7
@ -30,7 +30,7 @@ namespace osu.Game.Overlays.Settings.Sections.General
|
||||
Bindable = config.GetBindable<ReleaseStream>(OsuSetting.ReleaseStream),
|
||||
});
|
||||
|
||||
if (updateManager.CanCheckForUpdate)
|
||||
if (updateManager?.CanCheckForUpdate == true)
|
||||
{
|
||||
Add(checkForUpdatesButton = new SettingsButton
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user