ASTExtension: Fixed IsGripping check for Knuckles losers

This commit is contained in:
NotAKidoS 2024-07-05 17:10:32 -05:00
parent 6ac165f4a8
commit c8c9dd89aa
3 changed files with 3 additions and 2 deletions

View file

@ -6,6 +6,7 @@
<ItemGroup>
<Reference Include="BTKUILib">
<HintPath>..\.ManagedLibs\BTKUILib.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup>

View file

@ -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;
}

View file

@ -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"
}