mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-01-11 10:39:56 -05:00
Sensing-of block gets target volume
This commit is contained in:
parent
f8c2771776
commit
a652156032
1 changed files with 2 additions and 2 deletions
|
@ -238,7 +238,7 @@ class Scratch3SensingBlocks {
|
|||
case 'backdrop #': return attrTarget.currentCostume + 1;
|
||||
case 'backdrop name':
|
||||
return attrTarget.getCostumes()[attrTarget.currentCostume].name;
|
||||
case 'volume': return; // @todo: Keep this in mind for sound blocks!
|
||||
case 'volume': return attrTarget.volume;
|
||||
}
|
||||
} else {
|
||||
switch (args.PROPERTY) {
|
||||
|
@ -249,7 +249,7 @@ class Scratch3SensingBlocks {
|
|||
case 'costume name':
|
||||
return attrTarget.getCostumes()[attrTarget.currentCostume].name;
|
||||
case 'size': return attrTarget.size;
|
||||
case 'volume': return; // @todo: above, keep in mind for sound blocks..
|
||||
case 'volume': return attrTarget.volume;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue