From 3c3aaf3ee70dbf96e3d4ad80283406d8aa024a4c Mon Sep 17 00:00:00 2001 From: shagu Date: Wed, 30 Dec 2020 17:36:07 +0100 Subject: [PATCH] unitframes: ignore target update during range scan --- api/unitframes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/unitframes.lua b/api/unitframes.lua index 539a62d6..8378e941 100644 --- a/api/unitframes.lua +++ b/api/unitframes.lua @@ -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