Commit 487a2521 authored by Ivaria's avatar Ivaria

Fixed loading of custom debuff settings on profile change

parent 463ecb27
......@@ -516,6 +516,8 @@ function VUHDO_initDebuffs()
if not VUHDO_CONFIG then VUHDO_CONFIG = _G["VUHDO_CONFIG"]; end
twipe(VUHDO_CUSTOM_DEBUFF_CONFIG);
for _, tDebuffName in pairs(VUHDO_CONFIG["CUSTOM_DEBUFF"]["STORED"]) do
if not VUHDO_CUSTOM_DEBUFF_CONFIG[tDebuffName] then
VUHDO_CUSTOM_DEBUFF_CONFIG[tDebuffName] = { };
......
......@@ -2536,8 +2536,8 @@ function VUHDO_loadProfileNoInit(aName)
end
-- @TODO: Warum werden die nicht direkt geladen (ipairs-Problem?)
if tProfile["CONFIG"]["CUSTOM_DEBUFF"] and tProfile["CONFIG"]["CUSTOM_DEBUFF"]["STORED"] and VUHDO_CONFIG["CUSTOM_DEBUFF"] then
VUHDO_CONFIG["CUSTOM_DEBUFF"]["STORED"] = VUHDO_deepCopyTable(tProfile["CONFIG"]["CUSTOM_DEBUFF"]["STORED"]);
if tProfile["CONFIG"]["CUSTOM_DEBUFF"] and VUHDO_CONFIG["CUSTOM_DEBUFF"] then
VUHDO_CONFIG["CUSTOM_DEBUFF"] = VUHDO_deepCopyTable(tProfile["CONFIG"]["CUSTOM_DEBUFF"]);
end
if tProfile["CONFIG"]["SPELL_TRACE"] and VUHDO_CONFIG["SPELL_TRACE"] then
......
......@@ -11,6 +11,7 @@ Known issues:
Bugfixes:
-- Fixed minimap icon visibility toggle
-- Fixed loading of custom debuff settings on profile change
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