File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2297,7 +2297,7 @@ void ObjectDB::cleanup() {
22972297 // Ensure calling the native classes because if a leaked instance has a script
22982298 // that overrides any of those methods, it'd not be OK to call them at this point,
22992299 // now the scripting languages have already been terminated.
2300- MethodBind *node_get_name = ClassDB::get_method (" Node" , " get_name " );
2300+ MethodBind *node_get_path = ClassDB::get_method (" Node" , " get_path " );
23012301 MethodBind *resource_get_path = ClassDB::get_method (" Resource" , " get_path" );
23022302 Callable::CallError call_error;
23032303
@@ -2307,7 +2307,7 @@ void ObjectDB::cleanup() {
23072307
23082308 String extra_info;
23092309 if (obj->is_class (" Node" )) {
2310- extra_info = " - Node name : " + String (node_get_name ->call (obj, nullptr , 0 , call_error));
2310+ extra_info = " - Node path : " + String (node_get_path ->call (obj, nullptr , 0 , call_error));
23112311 }
23122312 if (obj->is_class (" Resource" )) {
23132313 extra_info = " - Resource path: " + String (resource_get_path->call (obj, nullptr , 0 , call_error));
You can’t perform that action at this time.
0 commit comments