mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-01-11 10:39:56 -05:00
Some more cleanup.
This commit is contained in:
parent
09c8110923
commit
2c551d1739
1 changed files with 2 additions and 2 deletions
|
@ -85,9 +85,9 @@ const serializeSound = function (sound) {
|
||||||
return obj;
|
return obj;
|
||||||
};
|
};
|
||||||
|
|
||||||
const serializeTarget = function (target/* , runtime*/) {
|
const serializeTarget = function (target) {
|
||||||
const obj = Object.create(null);
|
const obj = Object.create(null);
|
||||||
obj.isStage = target.isStage; // target.id === runtime.getTargetForStage().id;
|
obj.isStage = target.isStage;
|
||||||
obj.name = target.name;
|
obj.name = target.name;
|
||||||
obj.variables = target.variables; // This means that uids for variables will persist across saves/loads
|
obj.variables = target.variables; // This means that uids for variables will persist across saves/loads
|
||||||
obj.blocks = serializeBlocks(target.blocks);
|
obj.blocks = serializeBlocks(target.blocks);
|
||||||
|
|
Loading…
Reference in a new issue