From 2dbcdc2244b578bcfccc0001b4b222225ffacbab Mon Sep 17 00:00:00 2001 From: Karishma Chadha Date: Fri, 6 Apr 2018 10:35:42 -0400 Subject: [PATCH] The stage should always be called 'Stage'. --- src/serialization/sb2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/serialization/sb2.js b/src/serialization/sb2.js index 0fbbf0f10..a0a93edcd 100644 --- a/src/serialization/sb2.js +++ b/src/serialization/sb2.js @@ -215,7 +215,7 @@ const parseScratchObject = function (object, runtime, extensions, topLevel, zip) const sprite = new Sprite(blocks, runtime); // Sprite/stage name from JSON. if (object.hasOwnProperty('objName')) { - sprite.name = object.objName; + sprite.name = topLevel ? 'Stage' : object.objName; } // Costumes from JSON. const costumePromises = [];