[DesktopVRIK] Cleanup

This commit is contained in:
NotAKidoS 2023-09-25 14:26:03 -05:00
parent 497b0b0e7a
commit 32456e0055
5 changed files with 17 additions and 17 deletions

View file

@ -115,14 +115,10 @@ internal class IKHandlerDesktop : IKHandler
private void ResetSolverIfNeeded()
{
if (_wasTrackingLocomotion == BodySystem.TrackingLocomotionEnabled)
return;
if (_wasTrackingLocomotion == BodySystem.TrackingLocomotionEnabled) return;
_wasTrackingLocomotion = BodySystem.TrackingLocomotionEnabled;
if (ModSettings.EntryResetFootstepsOnIdle.Value)
VRIKUtils.ResetToInitialFootsteps(_vrik, _locomotionData, _scaleDifference);
_solver.Reset();
Reset();
}
#endregion