mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
Fix downloadProjectId method (#1093)
* Fix downloadProjectId method * use .data not .data.buffer
This commit is contained in:
parent
326d1c491a
commit
dbdee0ca8b
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ class VirtualMachine extends EventEmitter {
|
|||
const vm = this;
|
||||
const promise = storage.load(storage.AssetType.Project, id);
|
||||
promise.then(projectAsset => {
|
||||
vm.loadProject(projectAsset.decodeText());
|
||||
vm.loadProject(projectAsset.data);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue