Skip to content

Can't change populated values back to null #337

@XenonA7

Description

@XenonA7

Once a json field has a value, you cannot set it back to null in the map editor. For example, if you create a SHOW_CHOICE event step, all the fields are initially blank/null. Once you enter a value, save it, then close the event editor, it is no longer able to go back to null. You cannot delete this value because it map editor will re-populate it.
Image

In the screenshot above, if I want to set the forceWidth field to a null value again, I either need to make an entirely new SHOW_CHOICE event step or I need to remove it manually in json.

This also works for boolean checkbox properties. In the screenshot below, the top SET_CAMERA_POS is a freshly-created event step, thus all values are currently null. Once you touch the checkbox for the wait property, you can only set it to true or false. You can't get rid of it from the editor now.

Image

This is all just a minor annoyance, not anything critical. I can always still manually work around this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions