summaryrefslogtreecommitdiff
path: root/modules/gdscript
diff options
context:
space:
mode:
authorPaulb23 <p_batty@hotmail.co.uk>2017-04-26 12:14:03 +0100
committerPaulb23 <p_batty@hotmail.co.uk>2017-04-26 12:14:03 +0100
commitc4ffe892043a558e293c5d3974c14beaabe038c4 (patch)
tree1d669d25d1788944df336fe036e36c6f97144598 /modules/gdscript
parent02c041904f7ced28cd2a006c09725fd9fd60520f (diff)
Changed indent type settings
Diffstat (limited to 'modules/gdscript')
-rw-r--r--modules/gdscript/gd_editor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gd_editor.cpp b/modules/gdscript/gd_editor.cpp
index ba8df81c15..4667e541dd 100644
--- a/modules/gdscript/gd_editor.cpp
+++ b/modules/gdscript/gd_editor.cpp
@@ -2420,7 +2420,7 @@ Error GDScriptLanguage::complete_code(const String &p_code, const String &p_base
String GDScriptLanguage::_get_indentation() const {
#ifdef TOOLS_ENABLED
if (SceneTree::get_singleton()->is_editor_hint()) {
- bool use_space_indentation = EDITOR_DEF("text_editor/indent/type", "Tabs") == "Tabs" ? 0 : 1;
+ bool use_space_indentation = EDITOR_DEF("text_editor/indent/type", 0);
if (use_space_indentation) {
int indent_size = EDITOR_DEF("text_editor/indent/size", 4);