We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5383e0a commit ecbe1c9Copy full SHA for ecbe1c9
1 file changed
src/process.lua
@@ -58,13 +58,6 @@ local function setup_handlers()
58
end
59
)
60
61
- -- add patch structure setup
62
- Handlers.add(
63
- "setup-current-patch-iter",
64
- function () return "continue" end,
65
- function () Patch = { device = "patch@1.0" } end
66
- )
67
-
68
-- current timestamp sync
69
-- (this is required for coroutines, so they always
70
-- have the up-to-date timestamp and they don't have
@@ -348,6 +341,9 @@ local function setup_handlers()
348
341
349
342
350
343
function process.handle(msg, env)
344
+ -- reset current patch
345
+ Patch = { device = "patch@1.0" }
346
+
351
347
-- add reply and forward actions
352
ao.add_message_actions(msg)
353
0 commit comments