Quantcast

global settings perish

unknown [02-10-12 - 08:38]
global settings perish
Filename
AutoTurnIn.lua
diff --git a/AutoTurnIn.lua b/AutoTurnIn.lua
index c806090..9c4568c 100644
--- a/AutoTurnIn.lua
+++ b/AutoTurnIn.lua
@@ -13,7 +13,8 @@ function AutoTurnIn:OnEnable()

 	if (not AutoTurnInDB) or (not AutoTurnInDB.version or (AutoTurnInDB.version < vers)) then
 		AutoTurnInCharacterDB = nil
-		AutoTurnInDB = {version = vers}
+		_G.AutoTurnInDB = {version = vers}
+		AutoTurnInDB = _G.AutoTurnInDB
 		self:Print(L["reset"])
 	end
 	if not AutoTurnInCharacterDB then