unitframes: ignore target update during range scan

This commit is contained in:
shagu
2020-12-30 17:36:07 +01:00
parent 22ce96e605
commit 3c3aaf3ee7
+1 -1
View File
@@ -785,7 +785,7 @@ function pfUI.uf.OnEvent()
-- update regular frames
if event == "PLAYER_ENTERING_WORLD" then
this.fullupdate = true
elseif this.label == "target" and event == "PLAYER_TARGET_CHANGED" then
elseif this.label == "target" and event == "PLAYER_TARGET_CHANGED" and not pfScanActive == true then
this.fullupdate = true
elseif ( this.label == "raid" or this.label == "party" or this.label == "player" ) and event == "PARTY_MEMBERS_CHANGED" then
this.fullupdate = true