Summary
Removing @editable from a constant value locks the value to the value that was manually set from the details panel while the constant was editable.
Please select what you are reporting on:
Verse
What Type of Bug are you experiencing?
Verse
Steps to Reproduce
Create a new verse script.
Add @editable value, for example @editable MyNumber : int = 5
Build verse code, place the device in the world.
Change the editable value of MyNumber in the details panel to 15
Build changes.
OnBegin print value of MyNumber, prints as 15.
Remove @editable from MyNumber
Push verse changes
OnBegin still prints MyNumber as 15 which was the value set through details panel while the value in code is the default 5.
Value now always locked to 15 no matter what I change it to through code.
Expected Result
When removing @editable from MyNumber the value should be whatever is in the code not what was set on the editable in the details panel.
Observed Result
The value is still there from the value that was set on the editable in the details panel
Platform(s)
PC