mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-01-11 10:39:56 -05:00
Stringify things before saying
This commit is contained in:
parent
dfd28fbc1f
commit
48d3b20d69
1 changed files with 2 additions and 2 deletions
|
@ -240,7 +240,7 @@ class Scratch3LooksBlocks {
|
|||
|
||||
say (args, util) {
|
||||
// @TODO in 2.0 calling say/think resets the right/left bias of the bubble
|
||||
this._updateBubble(util.target, 'say', args.MESSAGE);
|
||||
this._updateBubble(util.target, 'say', String(args.MESSAGE));
|
||||
}
|
||||
|
||||
sayforsecs (args, util) {
|
||||
|
@ -256,7 +256,7 @@ class Scratch3LooksBlocks {
|
|||
}
|
||||
|
||||
think (args, util) {
|
||||
this._updateBubble(util.target, 'think', args.MESSAGE);
|
||||
this._updateBubble(util.target, 'think', String(args.MESSAGE));
|
||||
}
|
||||
|
||||
thinkforsecs (args, util) {
|
||||
|
|
Loading…
Reference in a new issue