* To reproduce:
1) Create a Sprite (eg Monster) and give it a private variable (eg HP).
2) CHANGE TO THE EVENT SHEET EDITOR Create an event and/or action based on the private variable (eg On collision between Bullet and Monster -> Monster: subtract 1 from 'HP' ... and ... Monster: Value 'HP' Equal to 0 -> ...)
3) Change the name of the private variable (eg rename Monster's "HP" variable to "Health") WHILE STILL VIEWING THE EVENT SHEET EDITOR. (Sprite must still be selected.)
4) Observe that the events/actions did not update (eg "HP" did not get changed to "Health" in the event/action descriptions) in the event sheet editor.
5) Run game and observe that events/actions work as expected. (ie the variable was updated properly behind the scenes)
6) To update the event sheet editor:
a) Double click each instance of the private variable in the event sheet editor (eg double click "HP" in the action and the event described above)
b) Observe that the new variable name ("Health") appears in the appropriate field of the dialog window.
c) Click Finish
d) Observe that the variable name reads the new name ("Health") in the event sheet editor
6b) Alternate methods of updating event sheet editor:
a) Switch to the Layout Editor and then back to the Event Sheet Editor
b) Close the .cap and reopen it.
Note: I uploaded the .cap, but apparently the problem isn't embedded in the cap. When I close/reopen the .cap the problem is gone. It seems this problem only appears when you update the variable name while viewing the Event Sheet editor.
Private Variable Name example