From 437cee3c14577b0f5afc22bf3b3621e283ae5dbb Mon Sep 17 00:00:00 2001 From: Paul Kaplan Date: Fri, 15 Dec 2017 15:52:04 -0500 Subject: [PATCH] Cast to string before asking question. Same as say blocks do. --- src/blocks/scratch3_sensing.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blocks/scratch3_sensing.js b/src/blocks/scratch3_sensing.js index b23fe740e..75ee571c7 100644 --- a/src/blocks/scratch3_sensing.js +++ b/src/blocks/scratch3_sensing.js @@ -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(); }