diff --git a/PregnancyPlus/PregnancyPlus.Core/PPPlugin.cs b/PregnancyPlus/PregnancyPlus.Core/PPPlugin.cs index 565928d..ba8276f 100644 --- a/PregnancyPlus/PregnancyPlus.Core/PPPlugin.cs +++ b/PregnancyPlus/PregnancyPlus.Core/PPPlugin.cs @@ -31,7 +31,7 @@ namespace KK_PregnancyPlus public partial class PregnancyPlusPlugin : BaseUnityPlugin { public const string GUID = "KK_PregnancyPlus"; - public const string Version = "7.1"; + public const string Version = "7.2"; internal static new ManualLogSource Logger { get; private set; } @@ -86,7 +86,7 @@ internal void Start() "0", "Pregnancy+", (oci, ctrl, leftValue, rightValue, factor) => { - var inflationSize = Mathf.Lerp(leftValue, rightValue, factor); + var inflationSize = Mathf.LerpUnclamped(leftValue, rightValue, factor); ctrl.MeshInflate(inflationSize, "timeline_interpolable"); }, null, diff --git a/release.cmd b/release.cmd index 9da25ab..6a85d82 100644 --- a/release.cmd +++ b/release.cmd @@ -1,7 +1,7 @@ ::Zips the dll into the correct directory structure for release ::Make sure to increment the version -set kk_version=7.1 +set kk_version=7.2 set kks_name=KKS_PregnancyPlus set hs2_name=HS2_PregnancyPlus set ai_name=AI_PregnancyPlus