Skip to content

Commit 355b54c

Browse files
committed
fix call signature for hooked processing function to pass on the active line parameter
1 parent c04d864 commit 355b54c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/DependencyControl.moon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,10 +447,10 @@ class DependencyControl
447447
menuName[#menuName+1] = name
448448

449449
-- check for updates before running a macro
450-
processHooked = (sub, sel) ->
450+
processHooked = (sub, sel, act) ->
451451
@@updater\scheduleUpdate @
452452
@@updater\releaseLock!
453-
return process sub, sel
453+
return process sub, sel, act
454454

455455
aegisub.register_macro table.concat(menuName, "/"), description, processHooked, validate, isActive
456456

0 commit comments

Comments
 (0)