From 04432e1e6bf18005960ad547de2635a60035f6b2 Mon Sep 17 00:00:00 2001 From: sussy layers dev <72522395+jwklong@users.noreply.github.com> Date: Mon, 9 Sep 2024 18:37:00 +0100 Subject: [PATCH] blah add this --- blocks_vertical/procedures.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blocks_vertical/procedures.js b/blocks_vertical/procedures.js index d5e6547030..7734c80b5c 100644 --- a/blocks_vertical/procedures.js +++ b/blocks_vertical/procedures.js @@ -307,7 +307,7 @@ Blockly.ScratchBlocks.ProcedureUtils.createAllInputs_ = function(connectionMap) var argumentType = component.substring(1, 2); var id = this.argumentIds_[argumentCount]; // user error shouldnt literally nuke the app, ignore invalid markers instead of erroring on them - if (component.substring(0, 1) == '%' && (argumentType == 'n' || argumentType == 'b' || argumentType == 's') && id) { + if (component.substring(0, 1) == '%' && (['n', 's', 'b', 'c'].includes(argumentType)) && id) { /* if (!(argumentType == 'n' || argumentType == 'b' || argumentType == 's')) { throw new Error(