Quantcast

-small position check fix

Xruptor [01-17-11 - 17:15]
-small position check fix
Filename
XanDurability.lua
diff --git a/XanDurability.lua b/XanDurability.lua
index 556e84c..94a909a 100644
--- a/XanDurability.lua
+++ b/XanDurability.lua
@@ -28,6 +28,11 @@ function f:PLAYER_LOGIN()
 	if not XanDUR_DB then XanDUR_DB = {} end
 	if XanDUR_DB.bgShown == nil then XanDUR_DB.bgShown = 1 end
 	if XanDUR_DB.scale == nil then XanDUR_DB.scale = 1 end
+	--check for old db
+	if XanDUR_DB["XanDurability"] then
+		XanDUR_DB["xanDurability"] = XanDUR_DB["XanDurability"]
+		XanDUR_DB["XanDurability"] = nil
+	end

 	self:CreateDURFrame()
 	self:RestoreLayout("xanDurability")