diff options
| author | Juan Linietsky | 2017-10-05 15:34:34 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-10-05 15:34:34 -0300 |
| commit | 3d87b70f7a8cadaab581c481fcc51622e8043ee0 (patch) | |
| tree | 0dcf539804decaf77f74086774a32c64872e7c11 /core/io | |
| parent | 928efe06d672d8afeb595f75878746a51e4dc2ce (diff) | |
| download | godot-3d87b70.tar.gz godot-3d87b70.tar.zst godot-3d87b70.zip | |
Added the set/get_setting function in Editor/Project settings. Renamed has() to has_setting. Fixes #11844
Diffstat (limited to 'core/io')
| -rw-r--r-- | core/io/resource_loader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/resource_loader.cpp b/core/io/resource_loader.cpp index 89cb4a22c..ed0d49167 100644 --- a/core/io/resource_loader.cpp +++ b/core/io/resource_loader.cpp @@ -492,7 +492,7 @@ void ResourceLoader::reload_translation_remaps() { void ResourceLoader::load_translation_remaps() { - if (!ProjectSettings::get_singleton()->has("locale/translation_remaps")) + if (!ProjectSettings::get_singleton()->has_setting("locale/translation_remaps")) return; Dictionary remaps = ProjectSettings::get_singleton()->get("locale/translation_remaps"); |
