From 3d4beac2f203a28abc0cae9245fe05d5c9d7ae70 Mon Sep 17 00:00:00 2001 From: shagu Date: Thu, 29 Sep 2016 21:37:12 +0200 Subject: [PATCH] target: remove animation on target change --- modules/target.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/target.lua b/modules/target.lua index f3c9c5a9..6060a290 100644 --- a/modules/target.lua +++ b/modules/target.lua @@ -68,8 +68,7 @@ pfUI:RegisterModule("target", function () pfUI.uf.target.hp.lootIcon:Hide() end - - if event == "PLAYER_TARGET_CHANGED" or event == "PLAYER_ENTERING_WORLD" then + if event == "PLAYER_ENTERING_WORLD" then pfUI.uf.target.power.bar:SetValue(0) pfUI.uf.target.hp.bar:SetValue(0) end