Updates for WoD expansion
Dread Quixadhal [08-13-15 - 05:03]
Updates for WoD expansion
diff --git a/LevelCam.toc b/LevelCam.toc
index 3c817b1..700514a 100644
--- a/LevelCam.toc
+++ b/LevelCam.toc
@@ -1,8 +1,8 @@
-## Interface: 50200
-## Version: 3
-## Title: LevelCam
-## Notes: Takes a screenshot when you level to record your progress!
-## Author: Quixadhal and Astromech
-## LoadOnDemand: 0
-## DefaultState: enabled
-LevelCam.lua
\ No newline at end of file
+## Interface: 60200
+## Title: LevelCam
+## Notes: Takes a screenshot when you level to record your progress.
+## Version: 5
+## Author: Quixadhal
+## LoadOnDemand: 0
+## DefaultState: enabled
+LevelCam.lua
diff --git a/LevelCam/LevelCam.lua b/LevelCam/LevelCam.lua
index 07aec65..22ebc16 100644
--- a/LevelCam/LevelCam.lua
+++ b/LevelCam/LevelCam.lua
@@ -41,21 +41,24 @@ local OnUpdate = function(self, elasped)
timer = 0
-- CloseAllWindows()
UIErrorsFrame:Clear()
- TakeScreenshot()
+ Screenshot()
end
end
local BattlegroundZones = {
- ["Alterac Valley"] = true,
["Warsong Gulch"] = true,
["Arathi Basin"] = true,
+ ["Alterac Valley"] = true,
["Eye of the Storm"] = true,
["Strand of the Ancients"] = true,
["Isle of Conquest"] = true,
["Battle for Gilneas"] = true,
["Twin Peaks"] = true,
- ["Temple of Kotmogu"] = true,
["Silvershard Mines"] = true,
+ ["Temple of Kotmogu"] = true,
+ ["Deepwind Gorge"] = true,
+ ["Wintergrasp"] = true,
+ ["Tol Barad"] = true,
}
-- OnEvent handler