Commit 80479ac0 authored by Ivaria's avatar Ivaria
Browse files

Reload when talent changes are committed

parent 32d6a2c5
......@@ -594,7 +594,7 @@ function VUHDO_OnEvent(_, anEvent, anArg1, anArg2, anArg3, anArg4, anArg5, anArg
VUHDO_updateBouquetsForEvent(anArg1, 30); -- VUHDO_UPDATE_ALT_POWER
end
elseif "LEARNED_SPELL_IN_TAB" == anEvent then
elseif "LEARNED_SPELL_IN_TAB" == anEvent or "TRAIT_CONFIG_UPDATED" == anEvent then
if VUHDO_VARIABLES_LOADED then
VUHDO_initFromSpellbook();
VUHDO_registerAllBouquets(false);
......@@ -1521,7 +1521,7 @@ local VUHDO_ALL_EVENTS = {
"UNIT_ENTERED_VEHICLE", "UNIT_EXITED_VEHICLE", "UNIT_EXITING_VEHICLE",
"CHAT_MSG_ADDON",
"RAID_TARGET_UPDATE",
"LEARNED_SPELL_IN_TAB",
"LEARNED_SPELL_IN_TAB", "TRAIT_CONFIG_UPDATED",
"PLAYER_FLAGS_CHANGED",
"PLAYER_LOGOUT",
"UNIT_DISPLAYPOWER", "UNIT_MAXPOWER", "UNIT_POWER_UPDATE", "RUNE_POWER_UPDATE",
......
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