mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 15:02:52 -05:00
The stage should always be called 'Stage'.
This commit is contained in:
parent
b436b5fd82
commit
2dbcdc2244
1 changed files with 1 additions and 1 deletions
|
@ -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 = [];
|
||||
|
|
Loading…
Reference in a new issue