From 700e163abec0c526284283bb304db6a3b5014b8a Mon Sep 17 00:00:00 2001 From: Erik Mejer Hansen Date: Wed, 13 Nov 2019 14:58:44 +0100 Subject: [PATCH] Fix handling of custom field types --- src/engine/runtime.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/engine/runtime.js b/src/engine/runtime.js index fb072426d..e7c233cbd 100644 --- a/src/engine/runtime.js +++ b/src/engine/runtime.js @@ -981,8 +981,10 @@ class Runtime extends EventEmitter { fieldName: fieldName, extendedName: extendedName, argumentTypeInfo: { - shadowType: extendedName, - fieldType: `field_${extendedName}` + shadow: { + type: extendedName, + fieldName: `field_${extendedName}` + } }, scratchBlocksDefinition: this._buildCustomFieldTypeForScratchBlocks( extendedName,