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 a008904 commit d51af8aCopy full SHA for d51af8a
src/blocks/mrc_mechanism.ts
@@ -383,7 +383,7 @@ const MECHANISM = {
383
let argInput = this.getInput('ARG' + i);
384
if (argInput && argInput.connection && !argInput.connection.targetBlock()) {
385
// The input is empty. Create a port block and connect it to the input.
386
- const portBlockState = createPort(this.mrcParameters[i].type);
+ const portBlockState = createPort(this.mrcParameters[i].type).block;
387
const portBlock = this.workspace.newBlock(portBlockState.type) as Blockly.BlockSvg;
388
if (portBlockState.extraState && portBlock.loadExtraState) {
389
portBlock.loadExtraState(portBlockState.extraState);
0 commit comments