We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1c7c71f + 74ac4a1 commit 4d4d5e3Copy full SHA for 4d4d5e3
1 file changed
scripts/ui/SettingsMenu.cs
@@ -92,7 +92,6 @@ public override void _Ready()
92
foreach (KeyValuePair<SettingsSection, List<ISettingsItem>> section in SettingsManager.Instance.Settings.ToOrderedSectionList())
93
{
94
if (section.Key == SettingsSection.None) { continue; }
95
- ;
96
97
string sectionName = section.Key.ToString();
98
@@ -120,6 +119,11 @@ public override void _Ready()
120
119
121
foreach (ISettingsItem setting in section.Value)
122
+ if (!setting.Visible)
123
+ {
124
+ continue;
125
+ }
126
+
127
Panel panel = settingTemplate.Duplicate() as Panel;
128
panel.Name = setting.Id;
129
panel.Visible = true;
0 commit comments