From 9a1628853f3ef0a037a1cfb5050000a76ca2011a Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Wed, 26 Jan 2022 15:58:24 +0100 Subject: [PATCH] remote-control: fix /SCRIPT cmd --- src/client/remote-control.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/remote-control.js b/src/client/remote-control.js index c38e9b3b..a7b29c16 100644 --- a/src/client/remote-control.js +++ b/src/client/remote-control.js @@ -289,7 +289,7 @@ var callbacks = { if (!Array.isArray(args)) args = [args] - uiConsole.script.setValue(args[0], {sync: true, send: true}) + uiConsole.script.run({input_code: args[0]}, {sync: true, send: true}) } }