target: remove animation on target change

This commit is contained in:
shagu
2016-09-29 21:37:12 +02:00
parent fe82b6e70c
commit 3d4beac2f2
+1 -2
View File
@@ -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