From dfa3408addecdbae7cc251acaf3f7eef2e95c026 Mon Sep 17 00:00:00 2001 From: Karishma Chadha Date: Fri, 20 Apr 2018 14:13:57 -0400 Subject: [PATCH] Update sound dataFormat after editing --- src/virtual-machine.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/virtual-machine.js b/src/virtual-machine.js index 696bbae35..1e7a0b9e1 100644 --- a/src/virtual-machine.js +++ b/src/virtual-machine.js @@ -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