summaryrefslogtreecommitdiff
path: root/core/core_bind.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-02-19 15:06:50 +0100
committerGitHub <noreply@github.com>2021-02-19 15:06:50 +0100
commitbc395c2549009d28cdb8884f4beeebe7250de9f5 (patch)
tree5f51c7834ea64b08b32494f24fdf352769705a63 /core/core_bind.cpp
parenta59305ff08c57f9b3ac5a9046cd4f180b2752337 (diff)
parent0d1d7191781b1f0e0517ba8eb3b134320de72ca8 (diff)
Merge pull request #46221 from akien-mga/doc-sync-classref
doc: Sync classref with current source
Diffstat (limited to 'core/core_bind.cpp')
-rw-r--r--core/core_bind.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/core_bind.cpp b/core/core_bind.cpp
index b446f4c827..8a6d048909 100644
--- a/core/core_bind.cpp
+++ b/core/core_bind.cpp
@@ -135,7 +135,7 @@ void _ResourceLoader::_bind_methods() {
ClassDB::bind_method(D_METHOD("load_threaded_get_status", "path", "progress"), &_ResourceLoader::load_threaded_get_status, DEFVAL(Array()));
ClassDB::bind_method(D_METHOD("load_threaded_get", "path"), &_ResourceLoader::load_threaded_get);
- ClassDB::bind_method(D_METHOD("load", "path", "type_hint", "no_cache"), &_ResourceLoader::load, DEFVAL(""), DEFVAL(CACHE_MODE_REUSE));
+ ClassDB::bind_method(D_METHOD("load", "path", "type_hint", "cache_mode"), &_ResourceLoader::load, DEFVAL(""), DEFVAL(CACHE_MODE_REUSE));
ClassDB::bind_method(D_METHOD("get_recognized_extensions_for_type", "type"), &_ResourceLoader::get_recognized_extensions_for_type);
ClassDB::bind_method(D_METHOD("set_abort_on_missing_resources", "abort"), &_ResourceLoader::set_abort_on_missing_resources);
ClassDB::bind_method(D_METHOD("get_dependencies", "path"), &_ResourceLoader::get_dependencies);