From 2ea4982086db4d5b3ec6ed4f520327c67806ef42 Mon Sep 17 00:00:00 2001 From: Bohica <53943479+Bohicatv@users.noreply.github.com> Date: Sat, 11 Jan 2025 17:14:34 -0800 Subject: [PATCH] Update BaseAI.cs --- Projects/UOContent/Mobiles/AI/BaseAI.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Projects/UOContent/Mobiles/AI/BaseAI.cs b/Projects/UOContent/Mobiles/AI/BaseAI.cs index 5ce7ba5a7d..33e6b4644a 100644 --- a/Projects/UOContent/Mobiles/AI/BaseAI.cs +++ b/Projects/UOContent/Mobiles/AI/BaseAI.cs @@ -2132,7 +2132,11 @@ public virtual MoveResult DoMoveImpl(Direction d, bool badStateOk) // This makes them always move one step, never any direction changes // TODO: This is firing off deltas which aren't needed. Look into replacing/removing this - m_Mobile.Direction = d; + if (m_Mobile.Direction != d) + { + m_Mobile.Direction = d; + } + NextMove += delay; if (Core.TickCount - NextMove > 0)