summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew <47818697+Nyeriah@users.noreply.github.com>2024-11-15 04:38:48 -0300
committerGitHub <noreply@github.com>2024-11-15 04:38:48 -0300
commit5bbfd21e32eaa848eb78c48fb577e7fcb1794386 (patch)
treeb567d58bd2f922256ff5422a650b85bca49376ec
parent9f5821638338ad7f2b3e94ff543cc520712986e4 (diff)
fix(Scripts/ZulAman): Save Massive Gate state to DB (#20568)
-rw-r--r--src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp b/src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp
index 08371312a7..a583d1f6c7 100644
--- a/src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp
+++ b/src/server/scripts/EasternKingdoms/ZulAman/zulaman.cpp
@@ -501,7 +501,10 @@ struct npc_harrison_jones : public ScriptedAI
}
if (GameObject* gate = _instance->GetGameObject(DATA_MASSIVE_GATE))
+ {
+ gate->AllowSaveToDB(true);
gate->SetGoState(GO_STATE_ACTIVE);
+ }
_gongTimer = 2000;
_gongEvent = GONG_EVENT_8;
break;