diff --git a/src/serialization/sb3.js b/src/serialization/sb3.js index e317c564a..95477f5a2 100644 --- a/src/serialization/sb3.js +++ b/src/serialization/sb3.js @@ -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);