diff --git a/core/object/object.cpp b/core/object/object.cpp index c76188a2cd3..4d19a2c75bd 100644 --- a/core/object/object.cpp +++ b/core/object/object.cpp @@ -836,14 +836,16 @@ void Object::set_script(const Variant &p_script) { return; } + Ref