瀏覽代碼

Fix upper thigh slider

Bepis 6 年之前
父節點
當前提交
020f68bf7d
共有 1 個文件被更改,包括 4 次插入4 次删除
  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);
                     }