mirror of
https://github.com/godotengine/godot.git
synced 2025-10-26 03:04:31 +00:00
Unify usage of GLOBAL/EDITOR_GET
This commit is contained in:
parent
28a4eec9a7
commit
e48c5daddf
113 changed files with 528 additions and 528 deletions
|
|
@ -914,7 +914,7 @@ void ResourceLoader::load_translation_remaps() {
|
|||
return;
|
||||
}
|
||||
|
||||
Dictionary remaps = ProjectSettings::get_singleton()->get("internationalization/locale/translation_remaps");
|
||||
Dictionary remaps = GLOBAL_GET("internationalization/locale/translation_remaps");
|
||||
List<Variant> keys;
|
||||
remaps.get_key_list(&keys);
|
||||
for (const Variant &E : keys) {
|
||||
|
|
@ -941,7 +941,7 @@ void ResourceLoader::load_path_remaps() {
|
|||
return;
|
||||
}
|
||||
|
||||
Vector<String> remaps = ProjectSettings::get_singleton()->get("path_remap/remapped_paths");
|
||||
Vector<String> remaps = GLOBAL_GET("path_remap/remapped_paths");
|
||||
int rc = remaps.size();
|
||||
ERR_FAIL_COND(rc & 1); //must be even
|
||||
const String *r = remaps.ptr();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue