mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-01-11 10:39:56 -05:00
Merge pull request #867 from paulkaplan/fix-say-numbers
Cast to string before asking question. Same as say blocks do.
This commit is contained in:
commit
1475d95e31
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ class Scratch3SensingBlocks {
|
|||
const _target = util.target;
|
||||
return new Promise(resolve => {
|
||||
const isQuestionAsked = this._questionList.length > 0;
|
||||
this._enqueueAsk(args.QUESTION, resolve, _target, _target.visible, _target.isStage);
|
||||
this._enqueueAsk(String(args.QUESTION), resolve, _target, _target.visible, _target.isStage);
|
||||
if (!isQuestionAsked) {
|
||||
this._askNextQuestion();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue