mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 06:23:37 -05:00
Merge pull request #2322 from apple502j/patch-8
Use correct name in changeBlock in renameVariable
This commit is contained in:
commit
8a39d23d1f
1 changed files with 1 additions and 1 deletions
|
@ -326,7 +326,7 @@ class Target extends EventEmitter {
|
|||
blocks.changeBlock({
|
||||
id: id,
|
||||
element: 'field',
|
||||
name: 'VARIABLE',
|
||||
name: variable.type === 'list' ? 'LIST' : 'VARIABLE',
|
||||
value: id
|
||||
}, this.runtime);
|
||||
const monitorBlock = blocks.getBlock(variable.id);
|
||||
|
|
Loading…
Reference in a new issue