fix(Scripts/Kalimdor): prevent starting Caravan escort when in progress (#25776)
This commit is contained in:
@@ -395,9 +395,12 @@ public:
|
|||||||
active->RemoveNpcFlag(UNIT_NPC_FLAG_QUESTGIVER);
|
active->RemoveNpcFlag(UNIT_NPC_FLAG_QUESTGIVER);
|
||||||
break;
|
break;
|
||||||
case EVENT_RESTART_ESCORT:
|
case EVENT_RESTART_ESCORT:
|
||||||
|
if (!IsEscorted())
|
||||||
|
{
|
||||||
CheckCaravan();
|
CheckCaravan();
|
||||||
SetDespawnAtEnd(false);
|
SetDespawnAtEnd(false);
|
||||||
Start(true, ObjectGuid::Empty, 0, false, false, true);
|
Start(true, ObjectGuid::Empty, 0, false, false, true);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user