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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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