mirror of
https://github.com/brues-code/SuperCleveRoidMacros.git
synced 2026-09-16 03:38:00 +00:00
fix firstaction interaction with applymain and applyoff
This commit is contained in:
@@ -7313,6 +7313,10 @@ function CleveRoids.DoApply(hand, msg)
|
||||
local handled = false
|
||||
for _, v in pairs(CleveRoids.splitStringIgnoringQuotes(msg)) do
|
||||
if CleveRoids.DoWithConditionals(v, action, CleveRoids.FixEmptyTarget, false, action) then
|
||||
-- If /firstaction was used, stop macro evaluation after first successful apply
|
||||
if CleveRoids.stopOnCastFlag then
|
||||
CleveRoids.stopMacroFlag = true
|
||||
end
|
||||
handled = true
|
||||
break
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user