Some more cleanup.

This commit is contained in:
kchadha 2018-03-09 17:26:41 -05:00
parent 09c8110923
commit 2c551d1739

View file

@ -85,9 +85,9 @@ const serializeSound = function (sound) {
return obj;
};
const serializeTarget = function (target/* , runtime*/) {
const serializeTarget = function (target) {
const obj = Object.create(null);
obj.isStage = target.isStage; // target.id === runtime.getTargetForStage().id;
obj.isStage = target.isStage;
obj.name = target.name;
obj.variables = target.variables; // This means that uids for variables will persist across saves/loads
obj.blocks = serializeBlocks(target.blocks);