Skip to content

Commit

Permalink
Merge pull request #1071 from kchadha/fix-mp3-edit-bug
Browse files Browse the repository at this point in the history
Fix issue with sound upload and save/load
  • Loading branch information
paulkaplan committed Apr 20, 2018
2 parents 968643e + dfa3408 commit c9f30ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/virtual-machine.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c9f30ed

Please sign in to comment.