Reverted code and removed changing pawn position on tick. This prevents oob clipping

This commit is contained in:
Platinum 2020-04-16 21:13:28 -07:00
parent 2fb5f220dd
commit 9d19d9fc40
2 changed files with 0 additions and 1 deletions

View File

@ -15,7 +15,6 @@ namespace Rimworld_Animations {
if(___pawn.TryGetComp<CompBodyAnimator>() != null && ___pawn.TryGetComp<CompBodyAnimator>().isAnimating) {
__result = ___pawn.TryGetComp<CompBodyAnimator>().anchor + ___pawn.TryGetComp<CompBodyAnimator>().deltaPos;
___pawn.Position = __result.ToIntVec3();
return false;
}
return true;