From 789815466a9cec0071922cb13729419da29dade7 Mon Sep 17 00:00:00 2001 From: Ruslan Mustakov Date: Sun, 6 Aug 2017 16:04:35 +0700 Subject: Fix is_class check typo in ObjectDB::cleanup --- core/object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/object.cpp') diff --git a/core/object.cpp b/core/object.cpp index 525eb2ff38..5824084151 100644 --- a/core/object.cpp +++ b/core/object.cpp @@ -2015,7 +2015,7 @@ void ObjectDB::cleanup() { String node_name; if (instances[*K]->is_class("Node")) node_name = " - Node Name: " + String(instances[*K]->call("get_name")); - if (instances[*K]->is_class("Resoucre")) + if (instances[*K]->is_class("Resource")) node_name = " - Resource Name: " + String(instances[*K]->call("get_name")) + " Path: " + String(instances[*K]->call("get_path")); print_line("Leaked Instance: " + String(instances[*K]->get_class()) + ":" + itos(*K) + node_name); } -- cgit v1.2.3