Commit 61b41d60 by Juan Linietsky

Ensure all properties are refreshed when setting a script, fixes #24845

parent 3ea04c13
......@@ -1014,7 +1014,7 @@ void Object::set_script(const RefPtr &p_script) {
}
}
_change_notify("script");
_change_notify(); //scripts may add variables, so refresh is desired
emit_signal(CoreStringNames::get_singleton()->script_changed);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment