fix(Scripts/TheEye): make sure schedules are cancelled when advisors die in p1 (#18592)

init
This commit is contained in:
Dan
2024-03-21 10:21:53 +01:00
committed by GitHub
parent 1198766afa
commit 482f4c94ff

View File

@@ -821,6 +821,7 @@ struct npc_lord_sanguinar : public ScriptedAI
_hasDied = true;
}
}
scheduler.CancelAll();
}
void UpdateAI(uint32 diff) override
@@ -909,6 +910,7 @@ struct npc_capernian : public ScriptedAI
_hasDied = true;
}
}
scheduler.CancelAll();
}
void UpdateAI(uint32 diff) override
@@ -972,6 +974,7 @@ struct npc_telonicus : public ScriptedAI
_hasDied = true;
}
}
scheduler.CancelAll();
}
void UpdateAI(uint32 diff) override
@@ -1058,6 +1061,7 @@ struct npc_thaladred : public ScriptedAI
_hasDied = true;
}
}
scheduler.CancelAll();
}
void UpdateAI(uint32 diff) override