From 6517bd097424442dd9edcb6c5a440231d214496b Mon Sep 17 00:00:00 2001 From: Florrie Date: Fri, 16 Mar 2018 11:58:25 -0300 Subject: [PATCH] Make 'key pressed?' block import correctly --- src/serialization/sb2_specmap.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/serialization/sb2_specmap.js b/src/serialization/sb2_specmap.js index 0a5d64899..f61203834 100644 --- a/src/serialization/sb2_specmap.js +++ b/src/serialization/sb2_specmap.js @@ -861,8 +861,9 @@ const specMap = { opcode: 'sensing_keypressed', argMap: [ { - type: 'field', - fieldName: 'KEY_OPTION' + type: 'input', + inputOp: 'sensing_keyoptions', + inputName: 'KEY_OPTION' } ] },