Commit 0d1d5c63 authored by Ivaria's avatar Ivaria
Browse files

Fixed VUHDO_UPDATE_ALIVE handling on unit dead state change

parent e7aeb671
......@@ -381,9 +381,10 @@ function VUHDO_setHealth(aUnit, aMode)
elseif tInfo then
tIsAfk, tInfo["connected"], tIsDcChange = VUHDO_updateAfkDc(aUnit);
tInfo["dead"] = tIsDead;
if tIsDcChange then VUHDO_updateBouquetsForEvent(aUnit, 19); end-- VUHDO_UPDATE_DC
if tIsDcChange then
VUHDO_updateBouquetsForEvent(aUnit, 19); -- VUHDO_UPDATE_DC
end
if 2 == aMode then -- VUHDO_UPDATE_HEALTH
tNewHealth = UnitHealth(aUnit);
......@@ -410,6 +411,8 @@ function VUHDO_setHealth(aUnit, aMode)
elseif 6 == aMode then -- VUHDO_UPDATE_AFK
tInfo["afk"] = tIsAfk;
end
tInfo["dead"] = tIsDead;
end
end
end
......
......@@ -13,6 +13,7 @@ Known issues:
Bugfixes:
-- Fixed VUHDO_UPDATE_ALIVE handling on unit dead state 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