Skip to content

Commit

Permalink
blah add this
Browse files Browse the repository at this point in the history
  • Loading branch information
jwklong authored Sep 9, 2024
1 parent 80a87a4 commit 04432e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks_vertical/procedures.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 04432e1

Please sign in to comment.