aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoranakimluke2018-02-22 19:07:10 -0300
committerRémi Verschelde2018-02-24 01:34:26 +0100
commitbd3b958a2545c3f4dd4afa2e69b690a3c6aa78fc (patch)
tree52301d9d5f41066d0e673fd2e5558f837dfa1337
parenteedb85e6186ad63b82f2cc78b1df9fa02291622d (diff)
downloadgodot-bd3b958a2545c3f4dd4afa2e69b690a3c6aa78fc.tar.gz
godot-bd3b958a2545c3f4dd4afa2e69b690a3c6aa78fc.tar.zst
godot-bd3b958a2545c3f4dd4afa2e69b690a3c6aa78fc.zip
-rw-r--r--modules/gdscript/gdscript_editor.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp
index 505562324..db3787470 100644
--- a/modules/gdscript/gdscript_editor.cpp
+++ b/modules/gdscript/gdscript_editor.cpp
@@ -410,13 +410,11 @@ String GDScriptLanguage::make_function(const String &p_class, const String &p_na
String s = "func " + p_name + "(";
if (p_args.size()) {
- s += " ";
for (int i = 0; i < p_args.size(); i++) {
if (i > 0)
s += ", ";
s += p_args[i].get_slice(":", 0);
}
- s += " ";
}
s += "):\n" + _get_indentation() + "pass # replace with function body\n";