diff --git a/WeakAuras/Prototypes.lua b/WeakAuras/Prototypes.lua index b130ca6..1ccd9fc 100644 --- a/WeakAuras/Prototypes.lua +++ b/WeakAuras/Prototypes.lua @@ -5608,11 +5608,7 @@ WeakAuras.event_prototypes = { init = function(trigger) trigger.spellName = trigger.spellName or 0 local ret = [=[ - local spellid = tonumber(%q) - local button - if spellid then - button = WeakAuras.FindSpellActionButtons(spellid) - end + local button = WeakAuras.FindSpellActionButtons(%d) ]=] return ret:format(trigger.spellName) end,