Commit d816fd5f authored by Clutch's avatar Clutch

Fix expiration being a string.

parent c09e49f4
......@@ -105,7 +105,7 @@ function VAT:UpdateAura(button, index)
local isDebuff
local filter = button:GetParent():GetAttribute('filter')
local unit = button:GetParent():GetAttribute("unit")
local name, _, _, _, dtype, duration, expiration = UnitAura(unit, index, filter)
local name, _, _, dtype, duration, expiration = UnitAura(unit, index, filter)
if(name) then
if(duration > 0 and expiration) then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment