Trying to update a weakaura thats attempting to color the unit frames based off of this
function()
local colors = RAID_CLASS_COLORS[select(2, UnitClass("player"))]
return colors.r, colors.g, colors.b, 1
end
|
not sure what is out of date here.. the function is coloring the frames fine most of the time.. but some times im getting a ton of lua errors from it. unsure why.