You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Unify usage of GLOBAL/EDITOR_GET
This commit is contained in:
@@ -140,7 +140,7 @@ PackedStringArray get_code_completion(CompletionKind p_kind, const String &p_scr
|
||||
}
|
||||
} break;
|
||||
case CompletionKind::RESOURCE_PATHS: {
|
||||
if (bool(EditorSettings::get_singleton()->get("text_editor/completion/complete_file_paths"))) {
|
||||
if (bool(EDITOR_GET("text_editor/completion/complete_file_paths"))) {
|
||||
_get_directory_contents(EditorFileSystem::get_singleton()->get_filesystem(), suggestions);
|
||||
}
|
||||
} break;
|
||||
|
||||
@@ -137,7 +137,7 @@ private:
|
||||
api_assemblies_dir = api_assemblies_base_dir.path_join(GDMono::get_expected_api_build_config());
|
||||
#else // TOOLS_ENABLED
|
||||
String arch = Engine::get_singleton()->get_architecture_name();
|
||||
String appname = ProjectSettings::get_singleton()->get("application/config/name");
|
||||
String appname = GLOBAL_GET("application/config/name");
|
||||
String appname_safe = OS::get_singleton()->get_safe_dir_name(appname);
|
||||
String data_dir_root = exe_dir.path_join("data_" + appname_safe + "_" + arch);
|
||||
if (!DirAccess::exists(data_dir_root)) {
|
||||
|
||||
Reference in New Issue
Block a user