From 73968895d8e39ab303e94d24b416705cc33a4334 Mon Sep 17 00:00:00 2001 From: apple502j Date: Tue, 11 Dec 2018 18:39:09 +0900 Subject: [PATCH] Display the next ask --- src/blocks/scratch3_sensing.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/blocks/scratch3_sensing.js b/src/blocks/scratch3_sensing.js index 1200786e5..9689e76c6 100644 --- a/src/blocks/scratch3_sensing.js +++ b/src/blocks/scratch3_sensing.js @@ -143,8 +143,12 @@ class Scratch3SensingBlocks { )); if (currentlyAsking) { - this.runtime.emit('SAY', stopTarget, null, ''); - this.runtime.emit('QUESTION', null); + this.runtime.emit('SAY', stopTarget, 'say', null); + if (this._questionList.length > 0) { + this._askNextQuestion(); + } else { + this.runtime.emit('QUESTION', null); + } } }