Merge pull request #583 from rschamp/bugfix/save-clones-bad

Don't serialize clones when saving
This commit is contained in:
Ray Schamp 2017-05-30 10:24:52 -04:00 committed by GitHub
commit b810b7be0a

View file

@ -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);