diff --git a/Assets/Scripts/SettingsMenu.cs b/Assets/Scripts/SettingsMenu.cs index 4c1e181..55a03c1 100644 --- a/Assets/Scripts/SettingsMenu.cs +++ b/Assets/Scripts/SettingsMenu.cs @@ -42,7 +42,7 @@ public class SettingsMenu : MonoBehaviour settingsMenu.SetActive(!settingsMenu.activeSelf); colorMenu.gameObject.SetActive(!colorMenu.gameObject.activeSelf); toggleButton.transform.GetChild(0).GetComponent().text = settingsMenu.activeSelf ? "Colors" : "Settings"; - SwitchColorType(3); + SwitchColorType(4); foreach (CustomColorObject customColorObject in FindObjectsByType(FindObjectsSortMode.None)) customColorObject.SetColor(); }); switchColorTypeButton.onClick.AddListener(() => SwitchColorType());