mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
Add comment about sensing block id oddness
This commit is contained in:
parent
e0db8529bf
commit
9e372916a8
1 changed files with 3 additions and 0 deletions
|
@ -84,6 +84,9 @@ class Scratch3SensingBlocks {
|
||||||
getId: () => 'timer'
|
getId: () => 'timer'
|
||||||
},
|
},
|
||||||
sensing_current: {
|
sensing_current: {
|
||||||
|
// This is different from the default toolbox xml id in order to support
|
||||||
|
// importing multiple monitors from the same opcode from sb2 files,
|
||||||
|
// something that is not currently supported in scratch 3.
|
||||||
getId: (_, param) => `current_${param}`
|
getId: (_, param) => `current_${param}`
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue