Rename "keep weather clear" to "disable rain"
This commit is contained in:
@@ -374,7 +374,12 @@ local function UnitXP_SP3_setShowInCombatNameplatesNearPlayer(enable)
|
||||
end
|
||||
|
||||
local function UnitXP_SP3_setWeatherAlwaysClear(enable)
|
||||
local test, result = pcall(UnitXP, "weatherAlwaysClear", enable);
|
||||
local test, result;
|
||||
if enable then
|
||||
test, result = pcall(UnitXP, "weatherAlwaysClear", "disableRain");
|
||||
else
|
||||
test, result = pcall(UnitXP, "weatherAlwaysClear", "enableRain");
|
||||
end
|
||||
|
||||
if not test then
|
||||
if not skipUpdateMessage then
|
||||
|
||||
Reference in New Issue
Block a user