mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
Merge pull request #583 from rschamp/bugfix/save-clones-bad
Don't serialize clones when saving
This commit is contained in:
commit
b810b7be0a
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ const loadSound = require('../import/load-sound.js');
|
|||
const serialize = function (runtime) {
|
||||
// Fetch targets
|
||||
const obj = Object.create(null);
|
||||
obj.targets = runtime.targets;
|
||||
obj.targets = runtime.targets.filter(target => target.isOriginal);
|
||||
|
||||
// Assemble metadata
|
||||
const meta = Object.create(null);
|
||||
|
|
Loading…
Reference in a new issue