update "Queued Action" trigger

This commit is contained in:
Bunny67
2020-08-25 19:50:26 +03:00
parent 28689c4b37
commit f4a801a3d7
+1 -5
View File
@@ -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,