1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Fix history state setup in VisualScript

This commit is contained in:
Swarnim Arun
2019-05-20 22:15:43 +05:30
parent 5cc1c7d642
commit 7155477caa

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;
}