Skip to content

Commit

Permalink
Forgot to save...
Browse files Browse the repository at this point in the history
  • Loading branch information
thewithz committed Jan 30, 2020
1 parent 730f856 commit 1d0c296
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion OdysseyNow/Assets/Scripts/Graphics/ToggleButtonBehavior.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ void ToggleClicked(bool on)
/// </summary>
void SliderChanged()
{
sliderText.text = "Difficulty: " + difficultySlider.value;
if(sliderText != null) {
sliderText.text = "Difficulty: " + difficultySlider.value;
}
}
}
}

0 comments on commit 1d0c296

Please sign in to comment.