diff options
author | theuserbl <theuserbl@hotmail.com> | 2015-03-05 23:05:30 +0100 |
---|---|---|
committer | theuserbl <theuserbl@hotmail.com> | 2015-03-05 23:05:30 +0100 |
commit | 31e6c6ca8fa84ff5e2c7e007a68eae1a54115f26 (patch) | |
tree | 8a439cf8e3f70c568a9309d9213711019fd1bc4e /tools/script_plugins | |
parent | 2c2894ceb674927a35d2798b3e63adabdb020077 (diff) |
Changed *_scene() to *_tree()
Changed _enter_scene and _exit_scene() to _enter_tree() and _exit_tree() in the time-example, because the *_scene no longer work.
Diffstat (limited to 'tools/script_plugins')
-rw-r--r-- | tools/script_plugins/time/time.gd | 4 |
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 |