Correct weatherAlwaysClear call

This commit is contained in:
Brues
2026-08-04 15:07:39 -05:00
parent 3b8c7615ac
commit ac0ac38038
+1 -6
View File
@@ -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