A recent improvement was to allow running code when editing a world: this is particularly useful when one wants to include pre- and post-code. However, when editing is terminated, the code that was saved in local storage from the previously non-editing run replaces the code in the editor and the library without warning. What should be done instead is to save the current code (editor and library) into local storage when the editing task is completed.
A recent improvement was to allow running code when editing a world: this is particularly useful when one wants to include pre- and post-code. However, when editing is terminated, the code that was saved in local storage from the previously non-editing run replaces the code in the editor and the library without warning. What should be done instead is to save the current code (editor and library) into local storage when the editing task is completed.