diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-03-07 08:38:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-07 08:38:15 +0100 |
commit | 53cf5eff9afe8c8d31e5b528de88fd93496fc56c (patch) | |
tree | f86ee6a253be245bcbcb488e68d629e66d6c9ea4 /modules/mono | |
parent | 1177bd635f2776992dd23a6c53f0e21494d430b1 (diff) | |
parent | 2057ea2883ed1fdd3ebb07562f3a4ba370082e5c (diff) |
Merge pull request #58847 from KoBeWi/editor_settings_mess
Diffstat (limited to 'modules/mono')
-rw-r--r-- | modules/mono/csharp_script.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp index 085ab9a467..c0b0d63600 100644 --- a/modules/mono/csharp_script.cpp +++ b/modules/mono/csharp_script.cpp @@ -527,10 +527,10 @@ String CSharpLanguage::make_function(const String &, const String &, const Packe String CSharpLanguage::_get_indentation() const { #ifdef TOOLS_ENABLED if (Engine::get_singleton()->is_editor_hint()) { - bool use_space_indentation = EDITOR_DEF("text_editor/behavior/indent/type", 0); + bool use_space_indentation = EDITOR_GET("text_editor/behavior/indent/type"); if (use_space_indentation) { - int indent_size = EDITOR_DEF("text_editor/behavior/indent/size", 4); + int indent_size = EDITOR_GET("text_editor/behavior/indent/size"); String space_indent = ""; for (int i = 0; i < indent_size; i++) { |