mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-01-11 10:39:56 -05:00
Merge pull request #1071 from kchadha/fix-mp3-edit-bug
Fix issue with sound upload and save/load
This commit is contained in:
commit
c9f30ed6ef
1 changed files with 1 additions and 0 deletions
|
@ -522,6 +522,7 @@ class VirtualMachine extends EventEmitter {
|
|||
storage.DataFormat.WAV,
|
||||
soundEncoding
|
||||
);
|
||||
sound.dataFormat = storage.DataFormat.WAV;
|
||||
sound.md5 = `${sound.assetId}.${sound.dataFormat}`;
|
||||
}
|
||||
// If soundEncoding is null, it's because gui had a problem
|
||||
|
|
Loading…
Reference in a new issue