Browse Source

Fix for mixed tabs and spaces in gdscript

MistMage 2 years ago
parent
commit
fecbc12d17
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/gdscript/gdscript_tokenizer.cpp

+ 1 - 1
modules/gdscript/gdscript_tokenizer.cpp

@@ -1099,7 +1099,7 @@ void GDScriptTokenizer::check_indent() {
 			_advance();
 		}
 
-		if (mixed) {
+		if (mixed && !(line_continuation || multiline_mode)) {
 			Token error = make_error("Mixed use of tabs and spaces for indentation.");
 			error.start_line = line;
 			error.start_column = 1;