aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTartalo <none@none>2010-03-22 22:48:05 +0100
committerTartalo <none@none>2010-03-22 22:48:05 +0100
commit2e5c5d3e1bd3f6a8b1b4cd5c19bab113fd7777e5 (patch)
treec0322c8575b9164fb238b9dde0e64b8104c2ec2e /src
parentc80b67cebddd9bbc6373860a339be56f0ce4d7e9 (diff)
Hall of Lightning: Fix Encounter state saving to db
Thanks Aokromes, Baraka & Spawn --HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/scripts/northrend/ulduar/halls_of_lightning/instance_halls_of_lightning.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/scripts/northrend/ulduar/halls_of_lightning/instance_halls_of_lightning.cpp b/src/scripts/northrend/ulduar/halls_of_lightning/instance_halls_of_lightning.cpp
index 11195e0cc1b..0b63abd1a08 100644
--- a/src/scripts/northrend/ulduar/halls_of_lightning/instance_halls_of_lightning.cpp
+++ b/src/scripts/northrend/ulduar/halls_of_lightning/instance_halls_of_lightning.cpp
@@ -152,6 +152,9 @@ struct instance_halls_of_lightning : public ScriptedInstance
m_auiEncounter[3] = uiData;
break;
}
+
+ if (uiData == DONE)
+ SaveToDB();
}
uint32 GetData(uint32 uiType)