From a87e3badc74f6c91d557a33874c9908f274e3e05 Mon Sep 17 00:00:00 2001 From: Xruptor Date: Mon, 17 Jan 2011 12:16:14 -0500 Subject: [PATCH] -small position check fix --- XanReputation.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/XanReputation.lua b/XanReputation.lua index c2e79de..6c5c6d4 100644 --- a/XanReputation.lua +++ b/XanReputation.lua @@ -19,7 +19,12 @@ function f:PLAYER_LOGIN() if XanREP_DB.bgShown == nil then XanREP_DB.bgShown = true end if XanREP_DB.scale == nil then XanREP_DB.scale = 1 end if XanREP_DB.autoSwitch == nil then XanREP_DB.autoSwitch = true end - + --check for old db + if XanREP_DB["XanReputation"] then + XanREP_DB["xanReputation"] = XanREP_DB["XanReputation"] + XanREP_DB["XanReputation"] = nil + end + self:RegisterEvent("CHAT_MSG_COMBAT_FACTION_CHANGE") self:RegisterEvent("CHAT_MSG_SYSTEM") self:RegisterEvent("UPDATE_FACTION") -- 1.7.9.5