fix(Scripts/ZulAman): Restore hatcher side switch (#20633)

This commit is contained in:
Andrew
2024-11-19 06:25:21 -03:00
committed by GitHub
parent c4a8fafecb
commit c46fceeea7

View File

@@ -363,6 +363,14 @@ struct npc_janalai_hatcher : public ScriptedAI
if (me->FindNearestCreature(NPC_EGG, 100.0f))
context.Repeat(4s);
else
{
_side = _side ? 0 : 1;
_isHatching = false;
_waypoint = 3;
MoveToNewWaypoint(_waypoint);
context.CancelGroup(SCHEDULER_GROUP_HATCHING);
}
});
}
else