summaryrefslogtreecommitdiff
path: root/objects.js
diff options
context:
space:
mode:
Diffstat (limited to 'objects.js')
-rw-r--r--objects.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/objects.js b/objects.js
index ee53127..2ccc6fb 100644
--- a/objects.js
+++ b/objects.js
@@ -462,7 +462,7 @@ SpriteMorph.prototype.initBlocks = function () {
doSetVolume: {
type: 'command',
category: 'sound',
- spec: 'set volume to %n',
+ spec: 'set volume to %n %',
defaults: [100]
},
reportVolume: {
@@ -1766,6 +1766,7 @@ SpriteMorph.prototype.blockTemplates = function (category) {
blocks.push(block('doPlaySoundUntilDone'));
blocks.push(block('doStopAllSounds'));
blocks.push(block('doSetVolume'));
+ blocks.push(watcherToggle('reportVolume'));
blocks.push(block('reportVolume'));
blocks.push('-');
blocks.push(block('doRest'));