1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +00:00

Fixed signal connection dialog ignoring indentation settings when creating a function.

This commit is contained in:
Michael Alexsander Silva Dias
2017-11-13 17:45:13 -02:00
parent f6232efed9
commit 3fac4ef336

View File

@@ -365,7 +365,7 @@ String GDScriptLanguage::make_function(const String &p_class, const String &p_na
} }
s += " "; s += " ";
} }
s += "):\n\tpass # replace with function body\n"; s += "):\n" + _get_indentation() + "pass # replace with function body\n";
return s; return s;
} }