thirdparty: check for ktm variables first

This commit is contained in:
shagu
2017-01-01 17:53:42 +01:00
parent ee99a9d367
commit 8c3a1dcb9d
+5 -4
View File
@@ -408,6 +408,7 @@ pfUI:RegisterModule("thirdparty", function ()
for i, button in pairs(buttons) do
local b = getglobal(button)
if not b then return end
pfUI.api:SkinButton(b)
b:SetScale(.8)
@@ -449,10 +450,10 @@ pfUI:RegisterModule("thirdparty", function ()
end
-- remove seperators
KLHTM_RaidFrameLine:Hide()
KLHTM_RaidFrameBottomLine:Hide()
KLHTM_SelfFrameLine:Hide()
KLHTM_SelfFrameBottomLine:Hide()
if KLHTM_RaidFrameLine then KLHTM_RaidFrameLine:Hide() end
if KLHTM_RaidFrameBottomLine then KLHTM_RaidFrameBottomLine:Hide() end
if KLHTM_SelfFrameLine then KLHTM_SelfFrameLine:Hide() end
if KLHTM_SelfFrameBottomLine then KLHTM_SelfFrameBottomLine:Hide() end
end
if pfUI_config.thirdparty.ktm.enable == "1" then