From ac0ac38038a73677f9c7b5b2c4f3067ea702ffa8 Mon Sep 17 00:00:00 2001 From: Brues <5278969+brues-code@users.noreply.github.com> Date: Tue, 4 Aug 2026 15:07:39 -0500 Subject: [PATCH] Correct weatherAlwaysClear call --- UnitXP_SP3_Addon.lua | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/UnitXP_SP3_Addon.lua b/UnitXP_SP3_Addon.lua index f305525..e37fbd4 100755 --- a/UnitXP_SP3_Addon.lua +++ b/UnitXP_SP3_Addon.lua @@ -374,12 +374,7 @@ local function UnitXP_SP3_setShowInCombatNameplatesNearPlayer(enable) end local function UnitXP_SP3_setWeatherAlwaysClear(enable) - local test, result; - if enable then - test, result = pcall(UnitXP, "weatherAlwaysClear", "disableRain"); - else - test, result = pcall(UnitXP, "weatherAlwaysClear", "enableRain"); - end + local test, result = pcall(UnitXP, "weatherAlwaysClear", enable.."Rain"); if not test then if not skipUpdateMessage then