Property should accept the nullable state.

This commit is contained in:
andy840119
2022-09-10 10:46:40 +08:00
parent 2f91b5c846
commit 1398a7e11e
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ namespace osu.Game.Overlays.Settings.Sections
{
try
{
SettingsSubsection section = ruleset.CreateSettings();
SettingsSubsection? section = ruleset.CreateSettings();
if (section != null)
Add(section);