Commit 86c07cb6 authored by Blazeflack's avatar Blazeflack

Merge branch 'master' into 'master'

Fix expiration being a string.

Closes #3

See merge request !1
parents c09e49f4 d816fd5f
......@@ -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