diff options
author | Juan Linietsky <juan@godotengine.org> | 2019-02-24 10:50:43 -0300 |
---|---|---|
committer | Juan Linietsky <juan@godotengine.org> | 2019-02-24 10:50:43 -0300 |
commit | 61b41d6001492527753b7047989d38ffd085a9de (patch) | |
tree | b2774ba2d86328c228359b1e7798a572c05fa683 /core/object.cpp | |
parent | 3ea04c1366eb83327b4552a8e84b68a8130f6bc1 (diff) |
Ensure all properties are refreshed when setting a script, fixes #24845
Diffstat (limited to 'core/object.cpp')
-rw-r--r-- | core/object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/object.cpp b/core/object.cpp index 4e0416ccb0..c46ecc5193 100644 --- a/core/object.cpp +++ b/core/object.cpp @@ -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); } |