diff --git a/src/game/AI/ScriptDevAI/scripts/eastern_kingdoms/zulgurub/zulgurub.cpp b/src/game/AI/ScriptDevAI/scripts/eastern_kingdoms/zulgurub/zulgurub.cpp index 565bc83df1..0fd3ff10b5 100644 --- a/src/game/AI/ScriptDevAI/scripts/eastern_kingdoms/zulgurub/zulgurub.cpp +++ b/src/game/AI/ScriptDevAI/scripts/eastern_kingdoms/zulgurub/zulgurub.cpp @@ -117,10 +117,11 @@ void instance_zulgurub::SetData(uint32 type, uint32 data) break; case TYPE_ARLOKK: m_auiEncounter[type] = data; - if (data == IN_PROGRESS) - DoUseDoorOrButton(GO_FORCEFIELD); - else if (GameObject* pForcefield = GetSingleGameObjectFromStorage(GO_FORCEFIELD)) - pForcefield->ResetDoorOrButton(); + if (data == DONE || data == FAIL) + DoUseOpenableObject(GO_FORCEFIELD, true); + else if (data == IN_PROGRESS) + DoUseOpenableObject(GO_FORCEFIELD, false); + if (data == DONE) RemoveHakkarPowerStack(); if (data == FAIL)