Skip to content

Commit

Permalink
fix(Scripts/MagtheridonLair): Fix double schedule (azerothcore#16831)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nefertumm authored Jul 28, 2023
1 parent 7e2aa2d commit 5c13265
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,9 @@ struct boss_magtheridon : public BossAI
Talk(SAY_EMOTE_FREE);
Talk(SAY_FREE);
scheduler.CancelGroup(GROUP_EARLY_RELEASE_CHECK); //cancel regular countdown
_magReleased = true;
scheduler.Schedule(3s, [this](TaskContext)
{
_magReleased = true; //redundancy
ScheduleCombatEvents();
});
}
Expand All @@ -239,6 +239,7 @@ struct boss_magtheridon : public BossAI
{
Talk(SAY_EMOTE_FREE);
Talk(SAY_FREE);
_magReleased = true;
}).Schedule(123s, GROUP_EARLY_RELEASE_CHECK, [this](TaskContext /*context*/)
{
ScheduleCombatEvents();
Expand Down

0 comments on commit 5c13265

Please sign in to comment.