mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
Merge pull request #414 from thisandagain/bugfix/413
Bugfix - Continue import if opcode is not found during SB2 import
This commit is contained in:
commit
fff63e3af2
1 changed files with 1 additions and 0 deletions
|
@ -193,6 +193,7 @@ var parseBlockList = function (blockList) {
|
||||||
for (var i = 0; i < blockList.length; i++) {
|
for (var i = 0; i < blockList.length; i++) {
|
||||||
var block = blockList[i];
|
var block = blockList[i];
|
||||||
var parsedBlock = parseBlock(block);
|
var parsedBlock = parseBlock(block);
|
||||||
|
if (typeof parsedBlock === 'undefined') continue;
|
||||||
if (previousBlock) {
|
if (previousBlock) {
|
||||||
parsedBlock.parent = previousBlock.id;
|
parsedBlock.parent = previousBlock.id;
|
||||||
previousBlock.next = parsedBlock.id;
|
previousBlock.next = parsedBlock.id;
|
||||||
|
|
Loading…
Reference in a new issue