From c7542a4b3f3db7a87a8fecdaf2809b634b312a32 Mon Sep 17 00:00:00 2001 From: Aleksi Blinnikka Date: Tue, 25 Aug 2020 23:53:47 +0300 Subject: [PATCH] Phasing function changed in 9.0 --- kehys/updater.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kehys/updater.lua b/kehys/updater.lua index 347096c..72c51ed 100644 --- a/kehys/updater.lua +++ b/kehys/updater.lua @@ -48,8 +48,8 @@ function addon.FrameUpdate(frame) -- range check (doesn't have an event) frames can be marked constantly visible if not frame.constant then local inrange, checked = UnitInRange(unit); - local inphase = UnitInPhase(unit); - if (checked and not inrange) or not inphase then + local inphase = UnitPhaseReason(unit); + if (checked and not inrange) or inphase then frame:SetAlpha(0.55); else frame:SetAlpha(1); -- 2.39.5