From e6364ace64e62cde9bdef88f357985ae5ffc4bea Mon Sep 17 00:00:00 2001 From: shagu Date: Thu, 29 Sep 2016 21:54:18 +0200 Subject: [PATCH] Revert "target: remove animation on target change" This reverts commit 3d4beac2f203a28abc0cae9245fe05d5c9d7ae70. --- modules/target.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/target.lua b/modules/target.lua index 6060a290..f3c9c5a9 100644 --- a/modules/target.lua +++ b/modules/target.lua @@ -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