mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
Use variable field directly
This commit is contained in:
parent
ecf535f4c3
commit
5df4456c4a
1 changed files with 8 additions and 12 deletions
|
@ -1191,9 +1191,8 @@ const specMap = {
|
|||
opcode: 'data_setvariableto',
|
||||
argMap: [
|
||||
{
|
||||
type: 'input',
|
||||
inputOp: 'data_variablemenu',
|
||||
inputName: 'VARIABLE'
|
||||
type: 'field',
|
||||
fieldName: 'VARIABLE'
|
||||
},
|
||||
{
|
||||
type: 'input',
|
||||
|
@ -1206,9 +1205,8 @@ const specMap = {
|
|||
opcode: 'data_changevariableby',
|
||||
argMap: [
|
||||
{
|
||||
type: 'input',
|
||||
inputOp: 'data_variablemenu',
|
||||
inputName: 'VARIABLE'
|
||||
type: 'field',
|
||||
fieldName: 'VARIABLE'
|
||||
},
|
||||
{
|
||||
type: 'input',
|
||||
|
@ -1221,9 +1219,8 @@ const specMap = {
|
|||
opcode: 'data_showvariable',
|
||||
argMap: [
|
||||
{
|
||||
type: 'input',
|
||||
inputOp: 'data_variablemenu',
|
||||
inputName: 'VARIABLE'
|
||||
type: 'field',
|
||||
fieldName: 'VARIABLE'
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -1231,9 +1228,8 @@ const specMap = {
|
|||
opcode: 'data_hidevariable',
|
||||
argMap: [
|
||||
{
|
||||
type: 'input',
|
||||
inputOp: 'data_variablemenu',
|
||||
inputName: 'VARIABLE'
|
||||
type: 'field',
|
||||
fieldName: 'VARIABLE'
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue