diff options
author | Poommetee Ketson <poommetee@protonmail.com> | 2018-03-15 18:38:53 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-15 18:38:53 +0700 |
commit | 01ec06d9ae9880c065dd6601656a5462c10690fd (patch) | |
tree | 98174e68e12d3c8429d248c49fac5f25c5ce61b7 | |
parent | bd82fc19e9aa394fd6b6fbc2f0bec9774976ae8b (diff) |
Fix script template on `_ready` behavior
-rw-r--r-- | modules/gdscript/gdscript_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_editor.cpp b/modules/gdscript/gdscript_editor.cpp index db3787470f..5f72dca866 100644 --- a/modules/gdscript/gdscript_editor.cpp +++ b/modules/gdscript/gdscript_editor.cpp @@ -60,7 +60,7 @@ Ref<Script> GDScriptLanguage::get_template(const String &p_class_name, const Str "# var a = 2\n" + "# var b = \"textvar\"\n\n" + "func _ready():\n" + - "%TS%# Called every time the node is added to the scene.\n" + + "%TS%# Called when the node is added to the scene for the first time.\n" + "%TS%# Initialization here\n" + "%TS%pass\n\n" + "#func _process(delta):\n" + |