Fix history state setup in VisualScript

(cherry picked from commit 7155477caa)
This commit is contained in:
Swarnim Arun 2019-05-20 22:15:43 +05:30 committed by Rémi Verschelde
parent 665c00eb58
commit 949e1da462
1 changed files with 1 additions and 1 deletions

View File

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