From 8752fa8106ed71e16bb273e4430fc011b8073aa4 Mon Sep 17 00:00:00 2001 From: shagu Date: Sun, 26 Feb 2017 18:02:03 +0100 Subject: [PATCH] api: move variable init to the others --- modules/config.lua | 3 --- pfUI.lua | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/config.lua b/modules/config.lua index 1de2b823..5b06afb6 100644 --- a/modules/config.lua +++ b/modules/config.lua @@ -1,6 +1,3 @@ -pfUI_playerDB = {} -pfUI_config = {} - function pfUI:UpdateConfig(group, subgroup, entry, value) -- check for missing config groups if not pfUI_config[group] then diff --git a/pfUI.lua b/pfUI.lua index b1e34d49..5f9bea11 100644 --- a/pfUI.lua +++ b/pfUI.lua @@ -38,6 +38,9 @@ pfLocaleSpellInterrupts = {} pfLocaleHunterbars = {} pfCustomCastbar = {} +pfUI_playerDB = {} +pfUI_config = {} + pfUI:SetScript("OnEvent", function() -- some addons overwrite color and font settings