Merge pull request #29036 from swarnimarun/vs-history-save

Fix history state setup in VisualScript
This commit is contained in:
Rémi Verschelde 2019-05-20 21:13:03 +02:00 committed by GitHub
commit d400a7bddd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2041,7 +2041,7 @@ void VisualScriptEditor::set_edit_state(const Variant &p_state) {
Dictionary d = p_state;
if (d.has("function")) {
edited_func = p_state;
edited_func = d["function"];
selected = edited_func;
}