From 1035e9da28eb975af605b7518f77a0a4305950dd Mon Sep 17 00:00:00 2001 From: adroitwhiz Date: Thu, 4 Mar 2021 00:29:50 -0500 Subject: [PATCH] Clean up TTS request code --- src/extensions/scratch3_text2speech/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/extensions/scratch3_text2speech/index.js b/src/extensions/scratch3_text2speech/index.js index f8cc408b4..f45c7010b 100644 --- a/src/extensions/scratch3_text2speech/index.js +++ b/src/extensions/scratch3_text2speech/index.js @@ -734,7 +734,7 @@ class Scratch3Text2SpeechBlocks { // Play the sound const sound = { data: { - buffer: buffer + buffer } }; return this.runtime.audioEngine.decodeSoundPlayer(sound); @@ -760,7 +760,6 @@ class Scratch3Text2SpeechBlocks { }) .catch(err => { log.warn(err); - return; }); } }