X-Git-Url: https://www.aleksib.fi/git/wowui.git/blobdiff_plain/f92b14eeefa36413da849e95271c4180220d658c..c82178bdfc108f95b41c3d0ed88ffe26b834482f:/OmaUF/CastBar.lua diff --git a/OmaUF/CastBar.lua b/OmaUF/CastBar.lua index a8382fd..6170513 100644 --- a/OmaUF/CastBar.lua +++ b/OmaUF/CastBar.lua @@ -66,12 +66,12 @@ end local function startCast(bar, unit, channeling) local name, icon, startTime, endTime, noInterrupt, id; if channeling then - name, _, _, icon, startTime, endTime, _, noInterrupt = UnitChannelInfo(unit); + name, _, icon, startTime, endTime, _, noInterrupt = UnitChannelInfo(unit); if not startTime or not endTime then return nil end bar.channeling = true; bar.cast.color = channelingColor; else - _, _, name, icon, startTime, endTime, _, _, noInterrupt, id = UnitCastingInfo(unit); + _, name, icon, startTime, endTime, _, _, noInterrupt, id = UnitCastingInfo(unit); if not startTime or not endTime then return nil end bar.channeling = nil; bar.cast.color = castingColor;