Update sound dataFormat after editing

This commit is contained in:
Karishma Chadha committed 2018-04-20 14:13:57 -04:00
1 parent 968643ed16
commit dfa3408add
1 file changed
+1
+1
View File
@@ -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