fix(Scripts/Naxxramas): Maexxna's Outer Web Door (#21445)

Co-authored-by: pavel_k <pavel_k@mail.com>
This commit is contained in:
demetrzz 2025-02-16 00:29:57 +03:00 committed by GitHub
parent a05833eeed
commit 61f04f69db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -132,12 +132,9 @@ public:
events.Reset();
summons.DespawnAll();
if (pInstance)
{
if (GameObject* go = me->GetMap()->GetGameObject(pInstance->GetGuidData(DATA_MAEXXNA_GATE)))
{
go->SetGoState(GO_STATE_ACTIVE);
}
}
if (pInstance->GetBossState(BOSS_FAERLINA) == DONE)
go->SetGoState(GO_STATE_ACTIVE);
}
void JustEngagedWith(Unit* who) override