api: move variable init to the others

This commit is contained in:
shagu
2017-02-26 18:02:03 +01:00
parent 2007278a99
commit 8752fa8106
2 changed files with 3 additions and 3 deletions
-3
View File
@@ -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
+3
View File
@@ -38,6 +38,9 @@ pfLocaleSpellInterrupts = {}
pfLocaleHunterbars = {}
pfCustomCastbar = {}
pfUI_playerDB = {}
pfUI_config = {}
pfUI:SetScript("OnEvent", function()
-- some addons overwrite color and font settings