Revert "target: remove animation on target change"

This reverts commit 3d4beac2f2.
This commit is contained in:
shagu
2016-09-29 21:54:18 +02:00
parent a8b336e46c
commit e6364ace64
+2 -1
View File
@@ -68,7 +68,8 @@ pfUI:RegisterModule("target", function ()
pfUI.uf.target.hp.lootIcon:Hide()
end
if event == "PLAYER_ENTERING_WORLD" then
if event == "PLAYER_TARGET_CHANGED" or event == "PLAYER_ENTERING_WORLD" then
pfUI.uf.target.power.bar:SetValue(0)
pfUI.uf.target.hp.bar:SetValue(0)
end