Parcourir la source

Fix upper thigh slider

Bepis il y a 6 ans
Parent
commit
020f68bf7d
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 4 4
      Plugins/SliderUnlocker/Hooks.cs

+ 4 - 4
Plugins/SliderUnlocker/Hooks.cs

@@ -137,8 +137,8 @@ namespace SliderUnlocker
                         value = SliderMath.CalculatePosition(list, rate);
                         break;
                     case 1:
-                        if (!name.StartsWith("cf_a_bust") &&
-                            !name.EndsWith("_size"))
+                        if ((!name.StartsWith("cf_a_bust") && !name.EndsWith("_size")) || //breast fix
+                        !(name.Contains("thigh") && name.Contains("01"))) //thigh fix
                         {
                             value = SliderMath.CalculateRotation(list, rate);
                         }
@@ -170,8 +170,8 @@ namespace SliderUnlocker
                 }
                 if (flag[1])
                 {
-                    if (!name.StartsWith("cf_a_bust") &&
-                               !name.EndsWith("_size"))
+                    if (!(name.StartsWith("cf_a_bust") && name.EndsWith("_size")) && //breast fix
+                        !(name.Contains("thigh") && name.Contains("01"))) //thigh fix
                     {
                         value[1] = SliderMath.CalculateRotation(list, rate);
                     }