mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-06-25 22:00:25 -04:00
Fix tests & a typo
This commit is contained in:
parent
0af3de9bf0
commit
c88a8fa55a
5 changed files with 7 additions and 7 deletions
src/serialization
|
@ -74,7 +74,7 @@ const parseScratchObject = function (object, runtime, extensions) {
|
|||
}
|
||||
if (object.hasOwnProperty('blocks')) {
|
||||
for (const blockId in object.blocks) {
|
||||
const blockJSON = object.blockType[blockId];
|
||||
const blockJSON = object.blocks[blockId];
|
||||
blocks.createBlock(blockJSON);
|
||||
|
||||
const dotIndex = blockJSON.opcode.indexOf('.');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue