public override void Tick(Rot4 bodyFacing, PawnGraphicSet graphics) { base.Tick(bodyFacing, graphics); BodyAnimator animator = this.CompAnimator.BodyAnimator; if (animator != null) { animator.IsPosing(out this._animatedPercent); } // var curve = bodyFacing.IsHorizontal ? this.walkCycle.BodyOffsetZ : this.walkCycle.BodyOffsetVerticalZ; bool pawnInEditor = HarmonyPatchesFS.AnimatorIsOpen() && MainTabWindow_BaseAnimator.Pawn == this.Pawn; if (!Find.TickManager.Paused || pawnInEditor) { this.SelectWalkcycle(pawnInEditor); this.SelectPosecycle(); this.CompAnimator.FirstHandPosition = Vector3.zero; this.CompAnimator.SecondHandPosition = Vector3.zero; } }