Skip to content

Commit

Permalink
Update javascript.js
Browse files Browse the repository at this point in the history
  • Loading branch information
fustyles authored Dec 23, 2024
1 parent d282f1d commit 1bdec07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SpBlocklyJS/GameElements_20190131/javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -2486,8 +2486,8 @@ Blockly.JavaScript['audio_play_googleTTS'] = function (block) {
var value_id_ = Blockly.JavaScript.valueToCode(block, 'id_', Blockly.JavaScript.ORDER_ATOMIC);
var value_language_ = block.getFieldValue('language_');
var value_text_ = Blockly.JavaScript.valueToCode(block, 'text_', Blockly.JavaScript.ORDER_ATOMIC);
var code = 'await audio_play_googleTTS_Base64Data(' + value_id_ + ',"' + value_language_ + '",' + value_text_ + ');\n';
return code;
var code = 'await audio_play_googleTTS_Base64Data(' + value_id_ + ',"' + value_language_ + '",' + value_text_ + ')';
return [code, Blockly.JavaScript.ORDER_NONE];
};

Blockly.JavaScript['audio_delete'] = function (block) {
Expand Down

0 comments on commit 1bdec07

Please sign in to comment.