From f4a801a3d7d1b26b8865a76fba0161453660cac6 Mon Sep 17 00:00:00 2001 From: Bunny67 Date: Tue, 25 Aug 2020 19:50:26 +0300 Subject: [PATCH] update "Queued Action" trigger --- WeakAuras/Prototypes.lua | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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,