Update sound dataFormat after editing
This commit is contained in:
1 parent
968643ed16
commit
dfa3408add
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user