mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-26 05:50:50 +00:00
target: remove animation on target change
This commit is contained in:
+1
-2
@@ -68,8 +68,7 @@ pfUI:RegisterModule("target", function ()
|
|||||||
pfUI.uf.target.hp.lootIcon:Hide()
|
pfUI.uf.target.hp.lootIcon:Hide()
|
||||||
end
|
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.power.bar:SetValue(0)
|
||||||
pfUI.uf.target.hp.bar:SetValue(0)
|
pfUI.uf.target.hp.bar:SetValue(0)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user