From f34f518ce5464cab7d1c364008ea56a510957fe2 Mon Sep 17 00:00:00 2001 From: shagu Date: Mon, 4 Mar 2019 17:58:32 +0100 Subject: [PATCH] config: move several configs above placeholders --- api/config.lua | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/api/config.lua b/api/config.lua index 6e7fd0db..ab5598bf 100644 --- a/api/config.lua +++ b/api/config.lua @@ -821,6 +821,18 @@ function pfUI:LoadConfig() pfUI:UpdateConfig("nameplates", nil, "cpdisplay", "0") pfUI:UpdateConfig("nameplates", nil, "targethighlight", "0") pfUI:UpdateConfig("nameplates", nil, "targetzoom", "0") + + pfUI:UpdateConfig("abuttons", nil, "enable", "0") + pfUI:UpdateConfig("abuttons", nil, "position", "bottom") + pfUI:UpdateConfig("abuttons", nil, "showdefault", "0") + pfUI:UpdateConfig("abuttons", nil, "rowsize", "6") + pfUI:UpdateConfig("abuttons", nil, "spacing", "2") + pfUI:UpdateConfig("abuttons", nil, "hideincombat", "1") + + pfUI:UpdateConfig("gm", nil, "disable", "1") + pfUI:UpdateConfig("gm", nil, "server", "elysium") + + pfUI:UpdateConfig("questlog", nil, "showQuestLevels", "0") pfUI:UpdateConfig("thirdparty", nil, "chatbg", "1") pfUI:UpdateConfig("thirdparty", nil, "showmeter", "0") pfUI:UpdateConfig("thirdparty", "dpsmate", "skin", "1") @@ -835,25 +847,14 @@ function pfUI:LoadConfig() pfUI:UpdateConfig("thirdparty", "mrplow", "enable", "1") pfUI:UpdateConfig("thirdparty", "flightmap", "enable", "1") pfUI:UpdateConfig("thirdparty", "theorycraft", "enable", "1") - pfUI:UpdateConfig("thirdparty", "supermacro", "enable", "1") + pfUI:UpdateConfig("thirdparty", "supermacro", "enable", "1") pfUI:UpdateConfig("thirdparty", "atlasloot", "enable", "1") pfUI:UpdateConfig("thirdparty", "myroleplay", "enable", "1") pfUI:UpdateConfig("thirdparty", "druidmana", "enable", "1") pfUI:UpdateConfig("thirdparty", "noteit", "enable", "1") + pfUI:UpdateConfig("position", nil, nil, nil) pfUI:UpdateConfig("disabled", nil, nil, nil) - - pfUI:UpdateConfig("abuttons", nil, "enable", "0") - pfUI:UpdateConfig("abuttons", nil, "position", "bottom") - pfUI:UpdateConfig("abuttons", nil, "showdefault", "0") - pfUI:UpdateConfig("abuttons", nil, "rowsize", "6") - pfUI:UpdateConfig("abuttons", nil, "spacing", "2") - pfUI:UpdateConfig("abuttons", nil, "hideincombat", "1") - - pfUI:UpdateConfig("gm", nil, "disable", "1") - pfUI:UpdateConfig("gm", nil, "server", "elysium") - - pfUI:UpdateConfig("questlog", nil, "showQuestLevels", nil) end function pfUI:MigrateConfig()