Minor bugfix: Pawn pather gets cleared on animation end to try and make sure they don't get stuck

This commit is contained in:
Platinum 2020-04-15 10:22:38 -07:00
parent 2fb5f220dd
commit 65b08eb2f4
2 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ namespace Rimworld_Animations {
} else {
pawn.Position = anchor.ToIntVec3();
pawn.Notify_Teleported(false, true);
pawn.pather.StopDead();
pawn.Drawer.renderer.graphics.ResolveAllGraphics();
}