mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 15:02:52 -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) {
|
const serialize = function (runtime) {
|
||||||
// Fetch targets
|
// Fetch targets
|
||||||
const obj = Object.create(null);
|
const obj = Object.create(null);
|
||||||
obj.targets = runtime.targets;
|
obj.targets = runtime.targets.filter(target => target.isOriginal);
|
||||||
|
|
||||||
// Assemble metadata
|
// Assemble metadata
|
||||||
const meta = Object.create(null);
|
const meta = Object.create(null);
|
||||||
|
|
Loading…
Reference in a new issue