[IKAdjustments] Fixed for 2024r175

This commit is contained in:
NotAKidoS 2024-04-23 18:47:11 -05:00
parent 9cfe74276d
commit b294a1601f
3 changed files with 11 additions and 22 deletions

View file

@ -1,5 +1,6 @@
using ABI_RC.Core.InteractionSystem;
using ABI_RC.Systems.IK;
using ABI_RC.Systems.IK.SubSystems;
using HarmonyLib;
using NAK.IKAdjustments.Systems;
@ -15,7 +16,7 @@ internal static class IKSystemPatches
}
[HarmonyPostfix]
[HarmonyPatch(typeof(IKSystem), nameof(IKSystem.ResetIkSettings))]
[HarmonyPatch(typeof(BodySystem), nameof(BodySystem.ResetCalibration))]
private static void Postfix_IKSystem_ResetIkSettings()
{
IKAdjuster.Instance.ResetAllOffsets();