Expected Behavior
When you rename a variable, all the "(attribute) of (sprite)" menus that have that variable and sprite selected, in every sprite, should be changed to reference the variable's new name.
Actual Behavior
They don't get updated; they still reference the old name, which is of a variable that doesn't exist, so the block always returns 0.
Steps to Reproduce
- Create a "for this sprite only" variable in a sprite.
- Drag out an "(attribute) of (that sprite's name)" block, and set the attribute menu to the variable.
- Rename the variable.
- Note that the menu hasn't been changed. The block will always return 0, not the value of the variable that was originally picked from the menu.
Mind that the menu itself does always contain the right variable names; it's just that existing uses of the of block are not updated (which breaks projects that referenced the variable, requiring that the user go and find every use of the "of" block and update its selected option to the new name).