diff options
author | kobewi <kobewi4e@gmail.com> | 2022-03-06 21:39:19 +0100 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2022-03-06 22:05:49 +0100 |
commit | 2057ea2883ed1fdd3ebb07562f3a4ba370082e5c (patch) | |
tree | 6a80a5170e16b866ec3545f0ec7a7542812c22bb /modules/mono/csharp_script.cpp | |
parent | 92615be68cddfc30b943f5eea942cc3c22b84bb6 (diff) | |
download | redot-engine-2057ea2883ed1fdd3ebb07562f3a4ba370082e5c.tar.gz |
Remove duplicate editor settings definitions
Diffstat (limited to 'modules/mono/csharp_script.cpp')
-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++) { |