mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 02:46:33 +01:00
Scripts/Pit of Saron: Tyrannus followup
fix new issue caused by947cb6a453(cherry picked from commit0b09e9ee4e)
This commit is contained in:
@@ -558,7 +558,7 @@ class at_tyrannus_event_starter : public AreaTriggerScript
|
||||
if (player->IsGameMaster() || !instance)
|
||||
return false;
|
||||
|
||||
if (instance->GetBossState(DATA_TYRANNUS) != DONE)
|
||||
if (instance->GetBossState(DATA_TYRANNUS) != IN_PROGRESS && instance->GetBossState(DATA_TYRANNUS) != DONE)
|
||||
if (Creature* tyrannus = ObjectAccessor::GetCreature(*player, instance->GetGuidData(DATA_TYRANNUS)))
|
||||
{
|
||||
tyrannus->AI()->DoAction(ACTION_START_INTRO);
|
||||
|
||||
Reference in New Issue
Block a user