Skip to content

Commit b957bf0

Browse files
committed
Fix NullReferenceException when GenericSliderSetting buttons aren't shown
1 parent 8603c74 commit b957bf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BeatSaberMarkupLanguage/Components/Settings/GenericSliderSetting.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public override bool Interactable
3838
{
3939
if (slider != null)
4040
{
41-
slider.interactable = value;
41+
((TextSlider)slider).interactable = value;
4242
if (showButtons)
4343
{
4444
incButton.interactable = value;

0 commit comments

Comments
 (0)