From b328c7618ddf310c2cadedd652cb65413ac3e0d1 Mon Sep 17 00:00:00 2001 From: shagu Date: Sat, 8 Sep 2018 16:44:48 +0200 Subject: [PATCH] config: fix broken combat glow migration path --- api/config.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/config.lua b/api/config.lua index 3496f033..9357022b 100644 --- a/api/config.lua +++ b/api/config.lua @@ -902,7 +902,7 @@ function pfUI:MigrateConfig() if pfUI_config.appearance.infight.group == "1" then pfUI_config.unitframes[unitframe].glowcombat = "1" pfUI_config.unitframes[unitframe].glowaggro = "1" - else + elseif pfUI_config.appearance.infight.group == "0" then pfUI_config.unitframes[unitframe].glowcombat = "0" pfUI_config.unitframes[unitframe].glowaggro = "0" end @@ -911,7 +911,7 @@ function pfUI:MigrateConfig() if pfUI_config.appearance.infight.group == "1" then pfUI_config.unitframes["group"].glowcombat = "1" pfUI_config.unitframes["group"].glowaggro = "1" - else + elseif pfUI_config.appearance.infight.group == "0" then pfUI_config.unitframes["group"].glowcombat = "0" pfUI_config.unitframes["group"].glowaggro = "0" end