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 = [];