mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-25 15:32:40 -05:00
fixed issue 960
This commit is contained in:
parent
02c6002bb2
commit
11e12cca4f
1 changed files with 1 additions and 1 deletions
|
@ -253,7 +253,7 @@ class Scratch3LooksBlocks {
|
||||||
// @TODO in 2.0 calling say/think resets the right/left bias of the bubble
|
// @TODO in 2.0 calling say/think resets the right/left bias of the bubble
|
||||||
let message = args.MESSAGE;
|
let message = args.MESSAGE;
|
||||||
if (typeof message === 'number') {
|
if (typeof message === 'number') {
|
||||||
message = message.toFixed(2);
|
message = parseFloat(message.toFixed(2));
|
||||||
}
|
}
|
||||||
message = String(message);
|
message = String(message);
|
||||||
this.runtime.emit('SAY', util.target, 'say', message);
|
this.runtime.emit('SAY', util.target, 'say', message);
|
||||||
|
|
Loading…
Reference in a new issue