mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -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({
|
blocks.changeBlock({
|
||||||
id: id,
|
id: id,
|
||||||
element: 'field',
|
element: 'field',
|
||||||
name: 'VARIABLE',
|
name: variable.type === 'list' ? 'LIST' : 'VARIABLE',
|
||||||
value: id
|
value: id
|
||||||
}, this.runtime);
|
}, this.runtime);
|
||||||
const monitorBlock = blocks.getBlock(variable.id);
|
const monitorBlock = blocks.getBlock(variable.id);
|
||||||
|
|
Loading…
Reference in a new issue