summaryrefslogtreecommitdiff
path: root/demos/misc/scene_changer/scene_b.gd
diff options
context:
space:
mode:
Diffstat (limited to 'demos/misc/scene_changer/scene_b.gd')
-rw-r--r--demos/misc/scene_changer/scene_b.gd3
1 files changed, 1 insertions, 2 deletions
diff --git a/demos/misc/scene_changer/scene_b.gd b/demos/misc/scene_changer/scene_b.gd
index 4f94d6bb8f..b785ada45c 100644
--- a/demos/misc/scene_changer/scene_b.gd
+++ b/demos/misc/scene_changer/scene_b.gd
@@ -5,13 +5,12 @@ extends Panel
# var a=2
# var b="textvar"
+
func _ready():
# Initalization here
pass
-
-
func _on_goto_scene_pressed():
get_tree().change_scene("res://scene_a.scn")
pass # replace with function body