diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-22 08:26:29 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-22 08:26:29 +0200 |
commit | d96b7d767a1f7f8a5be37b80077e276bb174005f (patch) | |
tree | f0ad5330db2bed03b60908cde9d5da224ab8e915 /core/io | |
parent | 2d598bbf9aa47ab80300d64203af8ddd7e542bb0 (diff) | |
parent | 474cee7dafa4df94294de3e1c45e049defd7cfc5 (diff) |
Merge pull request #66110 from Zylann/reference_get_count
get_reference_count()`
Diffstat (limited to 'core/io')
-rw-r--r-- | core/io/resource.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/resource.cpp b/core/io/resource.cpp index 553698f8a6..ab30fb1ca3 100644 --- a/core/io/resource.cpp +++ b/core/io/resource.cpp @@ -489,7 +489,7 @@ bool ResourceCache::has(const String &p_path) { Resource **res = resources.getptr(p_path); - if (res && (*res)->reference_get_count() == 0) { + if (res && (*res)->get_reference_count() == 0) { // This resource is in the process of being deleted, ignore its existence. (*res)->path_cache = String(); resources.erase(p_path); |