Core/SAI: add missing SMART_EVENT_REACHED_HOME when finished evading while on SMART_ESCORT

(cherry picked from commit 6081e21a450ce7c403765634eed56ceab9d25252)
This commit is contained in:
ccrs
2026-06-30 00:52:20 +02:00
committed by Shauren
parent 9f7f0e28e1
commit 21162c04bf
@@ -955,6 +955,7 @@ void SmartAI::UpdatePath(uint32 diff)
{
_OOCReached = false;
RemoveEscortState(SMART_ESCORT_RETURNING);
GetScript()->ProcessEventsFor(SMART_EVENT_REACHED_HOME);
if (!HasEscortState(SMART_ESCORT_PAUSED))
ResumePath();
}