fix(Scripts/Karazhan): Side Enterance Door check (#17493)

This commit is contained in:
avarishd 2023-10-12 17:19:21 +03:00 committed by GitHub
parent 0a6d6f5cd7
commit 62ef0db09f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -374,9 +374,9 @@ public:
case GO_SIDE_ENTRANCE_DOOR:
m_uiSideEntranceDoor = go->GetGUID();
if (GetBossState(DATA_OPERA_PERFORMANCE) == DONE)
go->SetGameObjectFlag(GO_FLAG_LOCKED);
else
go->RemoveGameObjectFlag(GO_FLAG_LOCKED);
else
go->SetGameObjectFlag(GO_FLAG_LOCKED);
break;
case GO_DUST_COVERED_CHEST:
DustCoveredChest = go->GetGUID();