diff options
| author | Max Hilbrunner | 2018-05-24 01:21:17 +0200 |
|---|---|---|
| committer | GitHub | 2018-05-24 01:21:17 +0200 |
| commit | aee8d262528497298a50ff2b25eefd8dce18c033 (patch) | |
| tree | 1eb327a5847ef40e3549be818f286997f4824b73 | |
| parent | 0fa3e302631f22a0a6495464d185c07add9be7a3 (diff) | |
| parent | 4e257293d9b074b272350bfe88c891dec6632a14 (diff) | |
| download | godot-aee8d262528497298a50ff2b25eefd8dce18c033.tar.gz godot-aee8d262528497298a50ff2b25eefd8dce18c033.tar.zst godot-aee8d262528497298a50ff2b25eefd8dce18c033.zip | |
| -rw-r--r-- | modules/gdscript/gdscript_editor.cpp | 2 | ||||
| -rw-r--r-- | modules/mono/csharp_script.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp index 30ef16746..4286412c1 100644 --- a/modules/gdscript/gdscript_editor.cpp +++ b/modules/gdscript/gdscript_editor.cpp @@ -416,7 +416,7 @@ String GDScriptLanguage::make_function(const String &p_class, const String &p_na s += p_args[i].get_slice(":", 0); } } - s += "):\n" + _get_indentation() + "pass # replace with function body\n"; + s += "):\n" + _get_indentation() + "pass # Replace with function body.\n"; return s; } diff --git a/modules/mono/csharp_script.cpp b/modules/mono/csharp_script.cpp index 161e62c81..039c33361 100644 --- a/modules/mono/csharp_script.cpp +++ b/modules/mono/csharp_script.cpp @@ -446,7 +446,7 @@ String CSharpLanguage::make_function(const String &p_class, const String &p_name s += variant_type_to_managed_name(arg.get_slice(":", 1)) + " " + escape_csharp_keyword(arg.get_slice(":", 0)); } - s += ")\n{\n // Replace with function body\n}\n"; + s += ")\n{\n // Replace with function body.\n}\n"; return s; #else |
