summaryrefslogtreecommitdiffstats
path: root/core/object/object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/object/object.cpp')
-rw-r--r--core/object/object.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/object/object.cpp b/core/object/object.cpp
index 303624e6d7..0383753f38 100644
--- a/core/object/object.cpp
+++ b/core/object/object.cpp
@@ -923,6 +923,7 @@ void Object::notification(int p_notification, bool p_reversed) {
}
String Object::to_string() {
+ // Keep this method in sync with `Node::to_string`.
if (script_instance) {
bool valid;
String ret = script_instance->to_string(&valid);