mirror of
https://github.com/godotengine/godot.git
synced 2025-10-15 02:49:24 +00:00
Fix script template on _ready
behavior
(cherry picked from commit 01ec06d9ae
)
This commit is contained in:

committed by
Hein-Pieter van Braam

parent
c2e02e2066
commit
a3ba1b0280
@@ -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" +
|
||||
|
Reference in New Issue
Block a user