mirror of
https://github.com/brues-code/SuperCleveRoidMacros.git
synced 2026-09-16 03:38:00 +00:00
fix stopmacro for spell queuing and range fix for channeled spells
This commit is contained in:
@@ -65,6 +65,12 @@ do
|
||||
-- SuperMacro calls RunLine(line) one line at a time; handle first arg.
|
||||
local text = arg and arg[1]
|
||||
|
||||
-- Clear stopmacro if this is a new button press (different frame)
|
||||
local now = GetTime()
|
||||
if CRM.stopmacro and CRM.stopmacroTime and (now - CRM.stopmacroTime) > 0 then
|
||||
CRM.stopmacro = false
|
||||
end
|
||||
|
||||
-- respect /stopmacro guard
|
||||
if CRM.stopmacro then
|
||||
CRM.stopmacro = false
|
||||
|
||||
Reference in New Issue
Block a user