From 2c551d1739bf8a7e291b9bce1d493477fa3531e1 Mon Sep 17 00:00:00 2001 From: kchadha Date: Fri, 9 Mar 2018 17:26:41 -0500 Subject: [PATCH] Some more cleanup. --- src/serialization/sb3.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);