From c8c9dd89aafc460ad04f5424e7437414d9e6969d Mon Sep 17 00:00:00 2001
From: NotAKidoS <37721153+NotAKidoS@users.noreply.github.com>
Date: Fri, 5 Jul 2024 17:10:32 -0500
Subject: [PATCH] ASTExtension: Fixed IsGripping check for Knuckles losers
---
ASTExtension/ASTExtension.csproj | 1 +
ASTExtension/Main.cs | 2 +-
ASTExtension/format.json | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/ASTExtension/ASTExtension.csproj b/ASTExtension/ASTExtension.csproj
index c58cf25..6bbefe0 100644
--- a/ASTExtension/ASTExtension.csproj
+++ b/ASTExtension/ASTExtension.csproj
@@ -6,6 +6,7 @@
..\.ManagedLibs\BTKUILib.dll
+ False
diff --git a/ASTExtension/Main.cs b/ASTExtension/Main.cs
index 76d3731..f7b7115 100644
--- a/ASTExtension/Main.cs
+++ b/ASTExtension/Main.cs
@@ -441,7 +441,7 @@ public class ASTExtensionMod : MelonMod
private static bool IsGripping()
{
- return CVRInputManager.Instance.gripLeftValue > 0.50f ||
+ return CVRInputManager.Instance.gripLeftValue > 0.50f &&
CVRInputManager.Instance.gripRightValue > 0.50f;
}
diff --git a/ASTExtension/format.json b/ASTExtension/format.json
index a773287..55315d6 100644
--- a/ASTExtension/format.json
+++ b/ASTExtension/format.json
@@ -19,6 +19,6 @@
],
"downloadlink": "https://github.com/NotAKidoS/NAK_CVR_Mods/releases/download/r35/ASTExtension.dll",
"sourcelink": "https://github.com/NotAKidoS/NAK_CVR_Mods/tree/main/ASTExtension/",
- "changelog": "- Fixed an issue where the parameter calibration process would sometimes result in the mouth pointer being misplaced when generated.",
+ "changelog": "- Fixed an issue where the parameter calibration process would sometimes result in the mouth pointer being misplaced when generated.\n- Fixed IsGripping check for Knuckles controllers not requiring *both* hands as intended.",
"embedcolor": "#f61963"
}
\ No newline at end of file