Browse Source

Fix color sliders being unlocked

Bepis 7 years ago
parent
commit
bb0f91da72
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Plugins/SliderUnlocker/SliderUnlocker.cs

+ 2 - 1
Plugins/SliderUnlocker/SliderUnlocker.cs

@@ -87,7 +87,8 @@ namespace SliderUnlocker
             foreach (Type type in illusion.GetTypes())
             {
                 if (type.Name.ToUpper().StartsWith("CVS") &&
-                    type.Name != "CvsDrawCtrl")
+                    type != typeof(CvsDrawCtrl) &&
+                    type != typeof(CvsColor))
                 {
                     cvsInstances.AddRange(GameObject.FindObjectsOfType(type));