mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
Scripts/Pit of Saron: Tyrannus followup
fix new issue caused by 947cb6a453
This commit is contained in:
@@ -556,7 +556,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