diff options
author | Thomas Herzog <thomas.herzog@mail.com> | 2017-08-06 14:32:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-06 14:32:14 +0200 |
commit | a18c8606bbc16e3274b8be9f79715023b10ce3e2 (patch) | |
tree | 9c461eda428d13c3001aa53ffd4b4c8f3ed885fe | |
parent | 97e942dd42ea5df241e1e81704eaa6c383f3c9b4 (diff) | |
parent | 789815466a9cec0071922cb13729419da29dade7 (diff) |
Merge pull request #10121 from endragor/fix-cleanup-typo
Fix is_class check typo in ObjectDB::cleanup
-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 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); } |