From 9d3198c45a1e486149ba9a6a5836509eaa247650 Mon Sep 17 00:00:00 2001 From: Aleksi Blinnikka Date: Sun, 6 May 2018 04:45:05 +0300 Subject: [PATCH] Fix castbar delays --- OmaUF/CastBar.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/OmaUF/CastBar.lua b/OmaUF/CastBar.lua index 6170513..2d75e18 100644 --- a/OmaUF/CastBar.lua +++ b/OmaUF/CastBar.lua @@ -99,14 +99,13 @@ M.StartCast = startCast; local function applyDelay(bar, unit, channeling) local startTime, endTime; if channeling then - _, _, _, _, startTime, endTime = UnitChannelInfo(unit); + _, _, _, startTime, endTime = UnitChannelInfo(unit); else - _, _, _, _, startTime, endTime = UnitCastingInfo(unit); + _, _, _, startTime, endTime = UnitCastingInfo(unit); end if not startTime or not endTime then return hideBar(bar) end bar.startTime = startTime / 1000; bar.endTime = endTime / 1000; - -- TODO show delay text end M.ApplyDelay = applyDelay; -- 2.39.5