Commit 9f45927b authored by Ivaria's avatar Ivaria

Fixed redundant profile reloading on talent change

parent ae3f9239
...@@ -697,8 +697,8 @@ function VUHDO_OnEvent(_, anEvent, anArg1, anArg2, anArg3, anArg4, anArg5, anArg ...@@ -697,8 +697,8 @@ function VUHDO_OnEvent(_, anEvent, anArg1, anArg2, anArg3, anArg4, anArg5, anArg
local tBestProfile = VUHDO_getBestProfileAfterSpecChange(); local tBestProfile = VUHDO_getBestProfileAfterSpecChange();
-- event sometimes fires multiple times so we must de-dupe -- event sometimes fires multiple times so we must de-dupe
if (VUHDO_SPEC_LAYOUTS["selected"] ~= VUHDO_SPEC_LAYOUTS[tSpecNum]) or if (not VUHDO_strempty(VUHDO_SPEC_LAYOUTS[tSpecNum]) and (VUHDO_SPEC_LAYOUTS["selected"] ~= VUHDO_SPEC_LAYOUTS[tSpecNum])) or
(VUHDO_CONFIG["CURRENT_PROFILE"] ~= tBestProfile) then (not VUHDO_strempty(tBestProfile) and (VUHDO_CONFIG["CURRENT_PROFILE"] ~= tBestProfile)) then
VUHDO_activateSpecc(tSpecNum); VUHDO_activateSpecc(tSpecNum);
end end
end end
......
...@@ -13,6 +13,7 @@ Bugfixes: ...@@ -13,6 +13,7 @@ Bugfixes:
-- Fixed error when slash command had zero arguments -- Fixed error when slash command had zero arguments
-- Fixed class name text for classless units (defaults to creature type) -- Fixed class name text for classless units (defaults to creature type)
-- Fixed error on target switch in combat with show class name enabled -- Fixed error on target switch in combat with show class name enabled
-- Fixed redundant profile reloading on talent change
Improvements: Improvements:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment