summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-03-22 14:54:06 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-03-22 14:54:06 -0300
commita8f55d11d33c6cd17d798d511767a4f1b26f30f3 (patch)
tree0f1b880494061766c688a9c831fa678a99ff5665 /tools
parent3a96937e937fcef54faa298923999202c3a4172a (diff)
parent31e6c6ca8fa84ff5e2c7e007a68eae1a54115f26 (diff)
Merge pull request #1480 from theuserbl/patch-2
Changed *_scene() to *_tree() in the time-example
Diffstat (limited to 'tools')
-rw-r--r--tools/script_plugins/time/time.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/script_plugins/time/time.gd b/tools/script_plugins/time/time.gd
index 66b3e9ed04..2e56d89d4f 100644
--- a/tools/script_plugins/time/time.gd
+++ b/tools/script_plugins/time/time.gd
@@ -21,12 +21,12 @@ func _init():
timer.set_one_shot(false)
timer.connect("timeout",self,"_timeout")
-func _enter_scene():
+func _enter_tree():
label = Label.new()
add_custom_control(CONTAINER_TOOLBAR,label)
timer.start()
-func _exit_scene():
+func _exit_tree():
timer.stop()
label.free()
label=null