From 57b7e9916d000e28e42a1a304fa5d630bf9b1c1e Mon Sep 17 00:00:00 2001 From: Andrew Sliwinski Date: Fri, 20 Apr 2018 10:58:03 -0400 Subject: [PATCH] Resolve issue with SB2 import --- src/serialization/sb2.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/serialization/sb2.js b/src/serialization/sb2.js index 93fa7927e..0907d5793 100644 --- a/src/serialization/sb2.js +++ b/src/serialization/sb2.js @@ -21,10 +21,12 @@ const {deserializeCostume, deserializeSound} = require('./deserialize-assets.js' // Constants used during deserialization of an SB2 file const CORE_EXTENSIONS = [ + 'argument', 'control', 'data', 'event', 'looks', + 'math', 'motion', 'operator', 'procedures', @@ -519,6 +521,7 @@ const parseBlock = function (sb2block, addBroadcastMsg, getVariableId, extension const index = blockMetadata.opcode.indexOf('_'); const prefix = blockMetadata.opcode.substring(0, index); if (CORE_EXTENSIONS.indexOf(prefix) === -1) { + console.log(prefix); extensions.extensionIDs.add(prefix); }